-
Notifications
You must be signed in to change notification settings - Fork 168
Hardcoded path name for asm.S
#419
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
Comments
This will soon be irrelevant as I believe this path for making assembly will be eliminated |
Excellent. Do you have a reference to a discussion that I can follow for this please? |
I'm not aware of one yet. Once 1.59 releases with stable support for global asm the feature inline-asm will be made the default / only option. You could switch to using that feature in the meantime |
At the moment the inline-asm feature doesn't change how the cortex-m-rt asm is generated, but the plan is indeed to move it to use If there was some easy fix we could apply now, I'd be happy to merge it, but I don't want to spend too long investigating when we plan to change the approach entirely once the next Rust release is out. |
Totally understand, and I can easily wait for Rust 1.59. Thanks for the info. |
See #420 for progress. |
Uh oh!
There was an error while loading. Please reload this page.
Binary files using this crate ends up with a hardcoded path for
asmS
file, as per the followingdwarfdump
output ...The impact of this is that debuggers that step through the code will fail to find the source code for the particular file. I don't know how this can be fixed, but it would be great if somehow we can encode the
DW_AT_comp_dir
value so that debuggers can discover this file from the.cargo/registry/src
location.The text was updated successfully, but these errors were encountered: