From 77df8e52bc358f7d953eebad33e61b9512ec6407 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Sun, 23 Nov 2014 11:56:30 +0100 Subject: Update for rustc --- src/win32/init.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/win32') diff --git a/src/win32/init.rs b/src/win32/init.rs index f8a7227..1f5be09 100644 --- a/src/win32/init.rs +++ b/src/win32/init.rs @@ -1,6 +1,3 @@ -extern crate native; - -use self::native::NativeTaskBuilder; use std::task::TaskBuilder; use std::sync::atomic::AtomicBool; use std::ptr; @@ -32,7 +29,7 @@ pub fn new_window(builder_dimensions: Option<(uint, uint)>, builder_title: Strin // GetMessage must be called in the same thread as CreateWindow, // so we create a new thread dedicated to this window. // This is the only safe method. Using `nosend` wouldn't work for non-native runtime. - TaskBuilder::new().native().spawn(proc() { + spawn(proc() { // registering the window class let class_name = { let class_name: Vec = "Window Class".utf16_units().chain(Some(0).into_iter()) -- cgit v1.2.3