-
Notifications
You must be signed in to change notification settings - Fork 399
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
cross run contains rustup output on stdout #1645
Comments
Does it do the same on the main branch? |
Good question, and the answer is yes:
|
Im not able to connect to my computer right now and dont have my laptop, could you show me the output when you set |
Oh yeah, could this be rust-lang/rustup#4221 ? Use rustup 1.28.1 and it should work as it should |
Sorry for the delay...
Side note:
Sorry, but no, I was already up-to-date.
|
ok, I'm unable to replicate this on my mac, but I think I see the issue now. The only place where this could come from would be here I think. that code is ran depending on the output of Lines 87 to 99 in 36c0d78
I see that when I run The fix then would be either removing the string from Lines 94 to 96 in 36c0d78
rustup -q toolchain list or not match the toolchain name exactly. I think I prefer using -q , should be backwards compatible too.
|
Checklist
Describe your issue
Hi, first of all thank you,
cross
is extremely easy to use to cross-compile rust projects.Since the rustup 1.28.0 upgrade, I cannot use
cross run ... > some_file
without getting some rustup output like this at the beginning:This is not a
cross
issue strictly speaking but the thing iscross run
now has a different behaviour compared tocargo run
. I didn't find a way to disable rustup output so I am now wondering ifcross
could have a workaround.Even
-q
removes everything but the annoying rustup output :).If I find no workaround then my only way to go is to change my program to take an argument (file name) and make it write to a file instead of stdout. I may implement it anyway in order to secure my builds but I wanted to let you know there is a potentially very annoying change in rustup.
If you need an occurrence of the issue, one is there: https://github.com/arnodb/truc/actions/runs/13843525751/job/38736552032#step:6:131.
What target(s) are you cross-compiling for?
i686-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
0.2.5
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: