diff options
| author | bors <bors@rust-lang.org> | 2015-03-12 17:39:30 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-03-12 17:39:30 +0000 |
| commit | 538840bc2d1b634a2a34b2c8bd72d99894058b66 (patch) | |
| tree | 82cab26f340e4cfdc5d373d621fd77713f6c6d78 /src/libstd/rt | |
| parent | 206ee0e8533dd3e1ee324da445e02ad79c51e849 (diff) | |
| parent | c933d44f7bb908aa520250b608f85bfacfccc337 (diff) | |
| download | rust-538840bc2d1b634a2a34b2c8bd72d99894058b66.tar.gz rust-538840bc2d1b634a2a34b2c8bd72d99894058b66.zip | |
Auto merge of #23245 - alexcrichton:allow-warnings-again, r=aturon
These were suppressing lots of interesting warnings! Turns out there was also quite a bit of dead code.
Diffstat (limited to 'src/libstd/rt')
| -rw-r--r-- | src/libstd/rt/mod.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/libstd/rt/mod.rs b/src/libstd/rt/mod.rs index fe32a51e81c..90cc189b9a0 100644 --- a/src/libstd/rt/mod.rs +++ b/src/libstd/rt/mod.rs @@ -108,9 +108,7 @@ fn lang_start(main: *const u8, argc: int, argv: *const *const u8) -> int { // but we just do this to name the main thread and to give it correct // info about the stack bounds. let thread: Thread = NewThread::new(Some("<main>".to_string())); - thread_info::set((my_stack_bottom, my_stack_top), - sys::thread::guard::main(), - thread); + thread_info::set(sys::thread::guard::main(), thread); // By default, some platforms will send a *signal* when a EPIPE error // would otherwise be delivered. This runtime doesn't install a SIGPIPE |
