Skip to content
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

Rename stdlib-bootstrapped-tasty to scala2-library-tasty #18615

Merged
merged 2 commits into from
Oct 3, 2023

Commits on Sep 29, 2023

  1. Use -Ystdlib to add Scala 2 lib TASTY to scalac (internal only)

    This flag only works on the `scala3-bootstrapped/scalac` in the dotty
    project. It is intended for internal testing.
    
    Currently it is a bit expensive to compile the Scala 2 library TASTy.
    One reason in for this is that we need to use `-Ycheck:all` when
    compiling it to make sure that `-Yscala2-stdlib` is working properly.
    
    We only allow `scala3-bootstrapped/scalac` and not `scalac` to have this
    dependency for two reasons. First, we do want to be able to compile and
    run `scalac` command fast to reduce development testing time. Second, we
    do not have a stable enough version of the Scala 2 library TASTy yet.
    
    We also do not enable the Scala 2 library TASTy by default on
    `scala3-bootstrapped/scalac` because we still need this command to test
    against the current version of the library. Stability is also a concern
    for this version of the command.
    nicolasstucki committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    4d03e49 View commit details
    Browse the repository at this point in the history
  2. Rename stdlib-bootstrapped-tasty to scala2-library-tasty

    Align with the `scala-library` and `dotty-library` nomenclature. Note
    that the name of the project/jar is already `scala2-library`.
    
    * `stdlib-bootstrapped` -> `scala2-library-bootstrapped`
    * `stdlib-bootstrapped-tasty` -> `scala2-library-tasty`
    * `stdlib-bootstrapped-tasty-tests` -> `scala2-library-tasty-tests`
    nicolasstucki committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    f104cb9 View commit details
    Browse the repository at this point in the history