Skip to content

Commit a07b4ad

Browse files
committed
---
yaml --- r: 108317 b: refs/heads/dist-snap c: 3496e93 h: refs/heads/master i: 108315: e4feafd v: v3
1 parent 338d2eb commit a07b4ad

File tree

6 files changed

+13
-15
lines changed

6 files changed

+13
-15
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c
9-
refs/heads/dist-snap: 8d4b675ced48d3382382a4940dad20615347c29e
9+
refs/heads/dist-snap: 3496e93d13590140242f862c905dc2d591d2e2ea
1010
refs/tags/release-0.2: c870d2dffb391e14efb05aa27898f1f6333a9596
1111
refs/tags/release-0.3: b5f0d0f648d9a6153664837026ba1be43d3e2503
1212
refs/heads/try3: 9387340aab40a73e8424c48fd42f0c521a4875c0

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

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1122,13 +1122,6 @@ fn link_args(sess: Session,
11221122
args.push(~"-Wl,--allow-multiple-definition");
11231123
}
11241124

1125-
// Stack growth requires statically linking a __morestack function
1126-
args.push(~"-lmorestack");
1127-
// compiler-rt contains implementations of low-level LLVM helpers
1128-
// It should go before platform and user libraries, so it has first dibs
1129-
// at resolving symbols that also appear in libgcc.
1130-
args.push(~"-lcompiler-rt");
1131-
11321125
add_local_native_libraries(&mut args, sess);
11331126
add_upstream_rust_crates(&mut args, sess, dylib, tmpdir);
11341127
add_upstream_native_libraries(&mut args, sess);
@@ -1163,6 +1156,13 @@ fn link_args(sess: Session,
11631156
args.push_all(rpath::get_rpath_flags(sess, out_filename));
11641157
}
11651158

1159+
// Stack growth requires statically linking a __morestack function
1160+
args.push(~"-lmorestack");
1161+
// compiler-rt contains implementations of low-level LLVM helpers
1162+
// It should go before platform and user libraries, so it has first dibs
1163+
// at resolving symbols that also appear in libgcc.
1164+
args.push(~"-lcompiler-rt");
1165+
11661166
// Finally add all the linker arguments provided on the command line along
11671167
// with any #[link_args] attributes found inside the crate
11681168
args.push_all(sess.opts.cg.link_args);

branches/dist-snap/src/librustdoc/html/render.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,10 @@ impl<'a> SourceCollector<'a> {
418418
// can't have the source to it anyway.
419419
let contents = match File::open(&p).read_to_end() {
420420
Ok(r) => r,
421-
// eew macro hacks
422-
Err(..) if filename == "<std-macros>" => return Ok(()),
421+
// macros from other libraries get special filenames which we can
422+
// safely ignore
423+
Err(..) if filename.starts_with("<") &&
424+
filename.ends_with("macros>") => return Ok(()),
423425
Err(e) => return Err(e)
424426
};
425427
let contents = str::from_utf8_owned(contents).unwrap();

branches/dist-snap/src/libstd/num/i64.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,6 @@ impl CheckedSub for i64 {
6060
}
6161
}
6262

63-
// FIXME: #8449: should not be disabled on 32-bit
64-
#[cfg(target_word_size = "64")]
6563
impl CheckedMul for i64 {
6664
#[inline]
6765
fn checked_mul(&self, v: &i64) -> Option<i64> {

branches/dist-snap/src/libstd/num/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ pub trait Int: Integer
426426
+ Bitwise
427427
+ CheckedAdd
428428
+ CheckedSub
429-
// + CheckedMul // FIXME #8849: currently not impled on 32-bit
429+
+ CheckedMul
430430
+ CheckedDiv {}
431431

432432
/// Returns the smallest power of 2 greater than or equal to `n`.

branches/dist-snap/src/libstd/num/u64.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ impl CheckedSub for u64 {
4747
}
4848
}
4949

50-
// FIXME: #8449: should not be disabled on 32-bit
51-
#[cfg(target_word_size = "64")]
5250
impl CheckedMul for u64 {
5351
#[inline]
5452
fn checked_mul(&self, v: &u64) -> Option<u64> {

0 commit comments

Comments
 (0)