Skip to content

Add --toolchain option for test command #697

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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