Skip to content

Commit df5718b

Browse files
committed
---
yaml --- r: 159222 b: refs/heads/snap-stage3 c: 04a02ff h: refs/heads/master v: v3
1 parent 9cc2ad1 commit df5718b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
refs/heads/master: 40fb87d40f681f5356af42175fc7b85da387f037
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4-
refs/heads/snap-stage3: 27ea11eda820a8bb5b552c4fb37668bcec2df914
4+
refs/heads/snap-stage3: 04a02ffb94314a842a87142042175822d60e58b4
55
refs/heads/try: f58aad6dce273570fb130b4df008ef9acd5a5be2
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/dist-snap: ba4081a5a8573875fed17545846f6f6902c8ba8d

branches/snap-stage3/src/librustc/back/link.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -728,7 +728,9 @@ fn link_staticlib(sess: &Session, obj_filename: &Path, out_filename: &Path) {
728728
if sess.target.target.options.morestack {
729729
ab.add_native_library("morestack").unwrap();
730730
}
731-
ab.add_native_library("compiler-rt").unwrap();
731+
if !sess.target.target.options.no_compiler_rt {
732+
ab.add_native_library("compiler-rt").unwrap();
733+
}
732734

733735
let crates = sess.cstore.get_used_crates(cstore::RequireStatic);
734736
let mut all_native_libs = vec![];

0 commit comments

Comments
 (0)