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

just all error[internal]: left behind trailing whitespace #4

Closed
silkroadnomad opened this issue Mar 2, 2024 · 3 comments
Closed

just all error[internal]: left behind trailing whitespace #4

silkroadnomad opened this issue Mar 2, 2024 · 3 comments

Comments

@silkroadnomad
Copy link

When running just all the process stopped due "error[internal]: left behind trailing whitespace".
I found a related issue: planus-org/planus#167 to run rustfmt twice to remove the white spaces.
I used the following script

find . -name '*.rs' -exec rustfmt --edition 2021 '{}' +
find . -name '*.rs' -exec rustfmt --edition 2021 --config max_width=1000 

but had to remove a whitespace in seed-keeper-wallet/src/lib/ line: 40 manually to fix the issue

@DougAnderson444
Copy link
Contributor

That's weird, rust format is usually pretty robust. I've removed the whitespace anyway, I saw where the problem was (I had a comment in an awkward spot)

@DougAnderson444
Copy link
Contributor

I just got this same issue! After updating to cargo-component v0.9.0

@DougAnderson444
Copy link
Contributor

This is an upstream issue with cargo-component which is patched in bytecodealliance/cargo-component#247

Just waiting for a release patch to v0.9.1 for this is disappear

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

No branches or pull requests

2 participants