-
Notifications
You must be signed in to change notification settings - Fork 12.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[nll] use NLL during bootstrapping #53172
Comments
I'm going to be attempting this for |
…tsakis [nll] enable feature(nll) on various crates for bootstrap rust-lang#53172
…matsakis [nll] enable feature(nll) on various crates for bootstrap: part 2 rust-lang#53172
…matsakis [nll] enable feature(nll) on various crates for bootstrap: part 3 rust-lang#53172
…matsakis [nll] enable feature(nll) on various crates for bootstrap: part 4 rust-lang#53172
…matsakis [nll] enable feature(nll) on various crates for bootstrap: part 4 rust-lang#53172 r? @nikomatsakis
The remaining four crates:
are all "external dependencies", in the sense that they are crates that have been factored out and are hosted on separate repositories (still within the So, it seems like the vast majority of work here is done, and the important thing is: It seems clear that we can bootstrap ourselves using NLL. Therefore, I am closing this task as "effectively finished" |
Note: locally, Well done, everyone :) |
An important correctness milestone is to have the compiler itself use NLL when bootstrapping. We've made some stabs at this but we need to start doing it all the time.
Instructions
./x.py build --stage 1
works for you#![cfg_attr(not(stage0), feature(nll))]
to the lib.rs file#![feature(nll)]
, but only once we get to stage1 -- otherwise we'd be using the beta version of NLL, which is old and buggy.)./x.py build --stage 1
again and see if it worksCrate list
liballoc
-- [nll] enable feature(nll) on various crates for bootstrap #53211liballoc_jemalloc
-- [nll] enable feature(nll) on various crates for bootstrap #53211liballoc_system
-- [nll] enable feature(nll) on various crates for bootstrap #53211libarena
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214libbacktrace
libcompiler_builtins
libcore
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libfmt_macros
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219libgraphviz
-- [nll] enable feature(nll) on various crates for bootstrap #53211liblibc
libpanic_abort
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219libpanic_unwind
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219libproc_macro
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libprofiler_builtins
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_allocator
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_apfloat
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219librustc_asan
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_borrowck
-- [nll] enable feature(nll) on various crates for bootstrap #53211librustc_codegen_llvm
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_codegen_utils
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_cratesio_shim
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219librustc_data_structures
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_driver
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219librustc_errors
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_incremental
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219librustc_lint
-- [nll] enable feature(nll) on various crates for bootstrap #53211librustc_llvm
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_lsan
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_metadata
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_mir
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_msan
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_passes
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_platform_intrinsics
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustc_plugin
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_privacy
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_resolve
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_save_analysis
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_target
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219librustc_traits
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_tsan
-- [nll] enable feature(nll) on various crates for bootstrap: part 2 #53214librustc_typeck
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230librustdoc
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libserialize
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libstd
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libstd_unicode
-- rolled into libcorelibsyntax
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libsyntax_ext
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libsyntax_pos
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219libterm
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219libtest
-- [nll] enable feature(nll) on various crates for bootstrap: part 4 #53230libunwind
-- [nll] enable feature(nll) on various crates for bootstrap: part 3 #53219stdsimd
The text was updated successfully, but these errors were encountered: