forked from M-Labs/zynq-rs
1
0
Fork 0

*/Cargo.toml: pass down target_* feature flags to dependencies

This commit is contained in:
Astro 2020-01-22 00:44:36 +01:00
parent 01e9f2031a
commit fc8e948a86
3 changed files with 4 additions and 7 deletions

View File

@ -5,8 +5,8 @@ authors = ["Astro <astro@spaceboyz.net>"]
edition = "2018"
[features]
target_zc706 = []
target_cora_z7_10 = []
target_zc706 = ["libboard_zynq/target_zc706", "libboard_zc706/target_zc706"]
target_cora_z7_10 = ["libboard_zynq/target_cora_z7_10", "libboard_zc706/target_cora_z7_10"]
default = ["target_zc706"]
[dependencies]

View File

@ -5,10 +5,8 @@ authors = ["Astro <astro@spaceboyz.net>"]
edition = "2018"
[features]
# TODO: propagate to libboard_zynq
target_zc706 = []
target_cora_z7_10 = []
default = ["target_zc706"]
target_zc706 = ["libboard_zynq/target_zc706"]
target_cora_z7_10 = ["libboard_zynq/target_cora_z7_10"]
[dependencies]
r0 = "0.2"

View File

@ -7,7 +7,6 @@ edition = "2018"
[features]
target_zc706 = []
target_cora_z7_10 = []
default = ["target_zc706"]
[dependencies]
r0 = "0.2"