forked from M-Labs/zynq-rs
*/Cargo.toml: pass down target_* feature flags to dependencies
This commit is contained in:
parent
01e9f2031a
commit
fc8e948a86
|
@ -5,8 +5,8 @@ authors = ["Astro <astro@spaceboyz.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
target_zc706 = []
|
target_zc706 = ["libboard_zynq/target_zc706", "libboard_zc706/target_zc706"]
|
||||||
target_cora_z7_10 = []
|
target_cora_z7_10 = ["libboard_zynq/target_cora_z7_10", "libboard_zc706/target_cora_z7_10"]
|
||||||
default = ["target_zc706"]
|
default = ["target_zc706"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
|
|
|
@ -5,10 +5,8 @@ authors = ["Astro <astro@spaceboyz.net>"]
|
||||||
edition = "2018"
|
edition = "2018"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
# TODO: propagate to libboard_zynq
|
target_zc706 = ["libboard_zynq/target_zc706"]
|
||||||
target_zc706 = []
|
target_cora_z7_10 = ["libboard_zynq/target_cora_z7_10"]
|
||||||
target_cora_z7_10 = []
|
|
||||||
default = ["target_zc706"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
r0 = "0.2"
|
r0 = "0.2"
|
||||||
|
|
|
@ -7,7 +7,6 @@ edition = "2018"
|
||||||
[features]
|
[features]
|
||||||
target_zc706 = []
|
target_zc706 = []
|
||||||
target_cora_z7_10 = []
|
target_cora_z7_10 = []
|
||||||
default = ["target_zc706"]
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
r0 = "0.2"
|
r0 = "0.2"
|
||||||
|
|
Loading…
Reference in New Issue