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

Use the first codegen backend in the config.toml as default #94415

Merged
merged 1 commit into from
Feb 28, 2022

Commits on Feb 27, 2022

  1. Use the first codegen backend in the config.toml as default

    It is currently hard coded to llvm if enabled and cranelift otherwise.
    This made some sense when cranelift was the only alternative codegen
    backend. Since the introduction of the gcc backend this doesn't make
    much sense anymore. Before this PR bootstrapping rustc using a backend
    other than llvm or cranelift required changing the source of
    rustc_interface. With this PR it becomes a matter of putting the right
    backend as first enabled backend in config.toml.
    bjorn3 committed Feb 27, 2022
    Configuration menu
    Copy the full SHA
    7ad4297 View commit details
    Browse the repository at this point in the history