You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How to build and test the library without needing to rebuild the compiler every time.
developing from stage0: one could use ./x.py test --stage 0 --no-doc src/libstd to quickly build and test the standard library, if features from a pre-built compiler is sufficient.
developing from stage1 (e.g. a new intrinsic is added): Suggest the proper --keep-stage syntax so the compiler will only be built once and then kept frozen?
Code arrangement
For libcore the tests must be doc tests or integrated tests in src/libcore/tests/
Some main points raised by rust-lang/rust#50466:
How to build and test the library without needing to rebuild the compiler every time.
./x.py test --stage 0 --no-doc src/libstdto quickly build and test the standard library, if features from a pre-built compiler is sufficient.--keep-stagesyntax so the compiler will only be built once and then kept frozen?Code arrangement
src/libcore/tests/