Update for task API changes

This commit is contained in:
Brian Anderson 2012-06-27 20:13:23 -07:00
parent 259ba8ce93
commit 6e77dfa2f4

View file

@ -207,7 +207,7 @@ fn on_osmain<T: send>(+f: fn~(comm::port<T>)) -> comm::chan<T> {
let opts = {
sched: some({
mode: task::osmain,
native_stack_size: none
foreign_stack_size: none
})
with task::get_opts(builder)
};