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

Add support for EnvironmentVariables in Rust targets #10030

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Jan 16, 2024

  1. Configuration menu
    Copy the full SHA
    f146fd7 View commit details
    Browse the repository at this point in the history
  2. scripts/meson_exe: allow passing environment variables to the meson

    internal wrapper
    
    This will be used by rustc when we're setting environment variables, but
    don't have support for --set-env
    dcbaker committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    9be7c7c View commit details
    Browse the repository at this point in the history
  3. compilers/rust: track whether we have a nightly or non-nightly compiler

    There is currently no reason to track whether we have a beta compiler,
    and this is not user visible, so we're not differentiating stable and
    beta, just nightly vs !nightly
    dcbaker committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    2eb9c4e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ce5bdcb View commit details
    Browse the repository at this point in the history
  5. backend/ninja: set env variables when the --env-set option is avail…

    …able
    
    TODO: fallback to using a wrapper
    dcbaker committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    e9290a4 View commit details
    Browse the repository at this point in the history
  6. backend/ninja: add fallback path for wrapping rustc with env vars

    At least for a while, we will need to support wrapping rustc in a script
    to set environment variables. This is far from ideal, since it's slow,
    clunky, and complicated.
    dcbaker committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    c6d4747 View commit details
    Browse the repository at this point in the history
  7. hack: add unstable-options

    dcbaker committed Jan 16, 2024
    Configuration menu
    Copy the full SHA
    145353a View commit details
    Browse the repository at this point in the history