Skip to content

Add --toolchain option for test command#697

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

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

Conversation

@GuillaumeGomez
Copy link
Member

No description provided.

@antoyo
Copy link
Contributor

antoyo commented Jun 6, 2025

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.

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.

2 participants