diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-12 03:03:35 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-04-12 14:14:01 +0200 |
commit | e6ca0848df365e43b19ecff2cca63e2ac4aebc76 (patch) | |
tree | e9d434dff3e084f98e0733c0c77e2e50d53b10ee /testing/rust/allow-crt-static-on-stable.patch | |
parent | e2345d3156f0f713623ab9265a931e780b2e9958 (diff) | |
download | aports-e6ca0848df365e43b19ecff2cca63e2ac4aebc76.tar.bz2 aports-e6ca0848df365e43b19ecff2cca63e2ac4aebc76.tar.xz |
testing/rust: fix multiple issues with static/dynamic linking
Diffstat (limited to 'testing/rust/allow-crt-static-on-stable.patch')
-rw-r--r-- | testing/rust/allow-crt-static-on-stable.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/rust/allow-crt-static-on-stable.patch b/testing/rust/allow-crt-static-on-stable.patch index 2646b3ef94..df4c06bf79 100644 --- a/testing/rust/allow-crt-static-on-stable.patch +++ b/testing/rust/allow-crt-static-on-stable.patch @@ -12,8 +12,8 @@ allows to use it even on stable build. Build dynamically linked binary with rustc or cargo: - $ rustc -C target-feature=+crt-static hello_world.rs - $ RUSTFLAGS="-C target-feature=+crt-static" cargo build + $ rustc -C target-feature=-crt-static hello_world.rs + $ RUSTFLAGS="-C target-feature=-crt-static" cargo build --- a/src/librustc/session/mod.rs +++ b/src/librustc/session/mod.rs |