Okay, this likely needs a revision as using a so-created Rust cross-compiler leads to:
8:36.74 error[E0433]: failed to resolve. Could not find `__FastLocalKeyInner` in `thread` 8:36.74 --> third_party/rust/futures/src/task_impl/std/mod.rs:28:1 8:36.74 | 8:36.74 28 | thread_local!(static CURRENT_TASK: Cell<*mut u8> = Cell::new(ptr::null_mut())); 8:36.74 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Could not find `__FastLocalKeyInner` in `thread` 8:36.74 | 8:36.74 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) 8:36.74 8:36.75 error[E0433]: failed to resolve. Could not find `__FastLocalKeyInner` in `thread` 8:36.75 --> third_party/rust/futures/src/task_impl/std/mod.rs:494:1 8:36.75 | 8:36.75 494 | / thread_local! { 8:36.75 495 | | static CURRENT_THREAD_NOTIFY: Arc<ThreadNotify> = Arc::new(ThreadNotify { 8:36.75 496 | | state: AtomicUsize::new(IDLE), 8:36.75 497 | | mutex: Mutex::new(()), 8:36.75 498 | | condvar: Condvar::new(), 8:36.75 499 | | }); 8:36.75 500 | | } 8:36.75 | |_^ Could not find `__FastLocalKeyInner` in `thread` 8:36.75 | 8:36.75 = note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info) 8:36.75
Trac: Keywords: GeorgKoppen201804 deleted, GeorgKoppen201805 added Status: needs_review to needs_revision
Actually, we are good. The reason for this problem is that we are setting MACOSX__DEPLOYMENT_TARGET=10.6 which fits to the current toolchain we use. thread_local is not supported for 10.6 but it is for 10.7 onward. Thus, we are good for now and will be later on when switching to our new toolchain. I just tested that and could successfully build esr60.