diff options
| author | bors <bors@rust-lang.org> | 2013-08-22 21:06:25 -0700 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-08-22 21:06:25 -0700 |
| commit | 9e1e15209129dad9d3bba90450a43ffb2505df14 (patch) | |
| tree | 13e3f799277ef2fe51b36dc6f83f989f465c87d0 /src/libstd/num | |
| parent | 6f703770410aa6b333978f192ff00f2ce94b0523 (diff) | |
| parent | 651f38258d72742c5961d646f865316f8ea1823c (diff) | |
| download | rust-9e1e15209129dad9d3bba90450a43ffb2505df14.tar.gz rust-9e1e15209129dad9d3bba90450a43ffb2505df14.zip | |
auto merge of #8596 : vadimcn/rust/master, r=alexcrichton
This resolves issue #908. Notable changes: - On Windows, LLVM integrated assembler emits bad stack unwind tables when segmented stacks are enabled. However, unwind info directives in the assembly output are correct, so we generate assembly first and then run it through an external assembler, just like it is already done for Android builds. - Linker is invoked via "g++" command instead of "gcc": g++ passes the appropriate magic parameters to the linker, which ensure correct registration of stack unwind tables in dynamic libraries.
Diffstat (limited to 'src/libstd/num')
| -rw-r--r-- | src/libstd/num/int_macros.rs | 1 | ||||
| -rw-r--r-- | src/libstd/num/uint_macros.rs | 4 |
2 files changed, 0 insertions, 5 deletions
diff --git a/src/libstd/num/int_macros.rs b/src/libstd/num/int_macros.rs index 4a7a5e32b32..e2218ce2736 100644 --- a/src/libstd/num/int_macros.rs +++ b/src/libstd/num/int_macros.rs @@ -919,7 +919,6 @@ mod tests { #[test] #[should_fail] - #[ignore(cfg(windows))] fn test_range_step_zero_step() { do range_step(0,10,0) |_i| { true }; } diff --git a/src/libstd/num/uint_macros.rs b/src/libstd/num/uint_macros.rs index 90a14503a8d..d81a2756ad8 100644 --- a/src/libstd/num/uint_macros.rs +++ b/src/libstd/num/uint_macros.rs @@ -638,14 +638,12 @@ mod tests { #[test] #[should_fail] - #[ignore(cfg(windows))] pub fn to_str_radix1() { 100u.to_str_radix(1u); } #[test] #[should_fail] - #[ignore(cfg(windows))] pub fn to_str_radix37() { 100u.to_str_radix(37u); } @@ -697,13 +695,11 @@ mod tests { #[test] #[should_fail] - #[ignore(cfg(windows))] fn test_range_step_zero_step_up() { do range_step(0,10,0) |_i| { true }; } #[test] #[should_fail] - #[ignore(cfg(windows))] fn test_range_step_zero_step_down() { do range_step(0,-10,0) |_i| { true }; } |
