Skip to content

Add --toolchain option for test command#697

Open
GuillaumeGomez wants to merge 1 commit into
rust-lang:masterfrom
GuillaumeGomez:toolchain
Open

Add --toolchain option for test command#697
GuillaumeGomez wants to merge 1 commit into
rust-lang:masterfrom
GuillaumeGomez:toolchain

Conversation

@GuillaumeGomez

Copy link
Copy Markdown
Member

No description provided.

@antoyo

antoyo commented Jun 6, 2025

Copy link
Copy Markdown
Contributor

This does not appear to work.
When running:

./y.sh test --toolchain cg_gcc-stage1

I get a bunch of errors like:

error[E0599]: no method named `add_used_global` found for reference `&CodegenCx<'gcc, 'tcx>` in the current scope
   --> src/consts.rs:167:14
    |
167 |         self.add_used_global(global);
    |              ^^^^^^^^^^^^^^^

as though it would compile (the local) cg_gcc itself with the (remote) toolchain.

@rustbot

rustbot commented Mar 15, 2026

Copy link
Copy Markdown
Collaborator

☔ The latest upstream changes (possibly #863) made this pull request unmergeable. Please resolve the merge conflicts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants