We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a55a7a commit 2ce07ccCopy full SHA for 2ce07cc
build.rs
@@ -0,0 +1,3 @@
1
+fn main() {
2
+ println!("cargo:rustc-cfg=travis");
3
+}
ci/script.sh
@@ -8,6 +8,8 @@ main() {
8
export RUSTFLAGS=--cfg=travis
9
fi
10
11
+ sed -i.bak '/^\[package\]$/ibuild = "build.rs"' Cargo.toml
12
+
13
# Build debug and release targets
14
cross build --target $TARGET
15
cross build --target $TARGET --release
0 commit comments