This is a hacky way of making changes while leaving everything else,
despite it being deactivated for now, in the hopes to not forget
to put additional difficulties back in once this particular issue
is fixed.
version = "0.0.1"
authors = []
- [target.'cfg(target_arch = "$ARCH")'.dependencies]
- d2 = { path = "../d2" }
+ # [target.'cfg(target_arch = "$ARCH")'.dependencies]
+ # [dependencies]
+ # d2 = { path = "../d2" }
"#
.replace("$ARCH", target_arch),
)
.file(
"d1/src/lib.rs",
&r#"pub fn f() {
- #[cfg(target_arch = "$ARCH")]
- d2::f();
+ // #[cfg(target_arch = "$ARCH")]
+ // d2::f();
}
"#
.replace("$ARCH", target_arch),
authors = []
"#,
)
+ .file("d2/build.rs", r#"fn main() { }"#)
.file("d2/src/lib.rs", "pub fn f() {}")
.build();