diff options
| author | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:12:56 +1100 |
|---|---|---|
| committer | Huon Wilson <dbau.pp+github@gmail.com> | 2013-12-20 01:26:03 +1100 |
| commit | c00104f36a1dd6aad318d410ffa41b9ec531880a (patch) | |
| tree | 2e317d3960f021384faa3f8ae7f19a9eed1ac849 /src/libstd/rt/task.rs | |
| parent | b3cee6203457b98c030a8597f97b037a8d447f40 (diff) | |
| download | rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.tar.gz rust-c00104f36a1dd6aad318d410ffa41b9ec531880a.zip | |
std: silence warnings when compiling test.
Diffstat (limited to 'src/libstd/rt/task.rs')
| -rw-r--r-- | src/libstd/rt/task.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstd/rt/task.rs b/src/libstd/rt/task.rs index 62e012f9f41..3299caa089a 100644 --- a/src/libstd/rt/task.rs +++ b/src/libstd/rt/task.rs @@ -26,7 +26,6 @@ use local_data; use option::{Option, Some, None}; use rt::borrowck::BorrowRecord; use rt::borrowck; -use rt::context; use rt::context::Context; use rt::env; use rt::kill::Death; @@ -511,6 +510,7 @@ impl Unwinder { // irrelevant for documentation purposes. #[cfg(not(test))] // in testing, use the original libstd's version pub extern "C" fn rust_stack_exhausted() { + use rt::context; use rt::in_green_task_context; use rt::task::Task; use rt::local::Local; |
