-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[workspace issue] Error: invalid register after refactor under workspace #10314
Comments
Now it works well by changing rustflags, but still cound not guarantee its performance when |
|
But actually, in my case, if |
I'm going to close as this sounds like an issue with config file search order. Those issues are tracked in #9769. There are a few other workarounds, some of them unstable (such as per-package-target and profile rustflags). |
Problem
The same issue as rust #93151.
When I want to refactor an OS project with Cargo workshop, which its original rust code is not encapsulated under cargo workspace but could promise successful run , compiler reported 'invalid register' issue as follow:
(My code is here, refactored by Cargo workspace)
My source code here has added
unsafe
statement andasm
mod, target triple is also modified to "riscv64gc-unknown-none-elf", but it seems that stil could't work under cargo workspace :(Steps
No response
Possible Solution(s)
No response
Notes
No response
Version
cargo 1.60.0-nightly (2022-01-18)
The text was updated successfully, but these errors were encountered: