Skip to content

"Standard library (libstd, liballoc, libcore, libtest) guide" #123

Closed
@kennytm

Description

@kennytm

Some main points raised by rust-lang/rust#50466:

  • 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/

Metadata

Metadata

Assignees

No one assigned

    Labels

    E-easyDifficulty: might be a good place for a beginnerE-help-wantedCall for participation: extra help is wanted

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions