Comments (4)
Managed to reproduce it, but had to update to 1.71
So I'm asking rustc to produce .s
files and json output, then I'm parsing that json with cargo-metadata to find out what was generated. json contains this bit of info which supposed to parse into ArtifactProfile
"profile":{"opt_level":"3","debuginfo":"line-tables-only","debug_assertions":false,"overflow_checks":false,"test":false},
https://docs.rs/cargo_metadata/latest/cargo_metadata/struct.ArtifactProfile.html
And debuginfo
field is described as Option<u32>
...
I think once cargo-metadata
gets updated - cargo-show-asm
will magically start working again...
from cargo-show-asm.
Made a ticket, we'll see what they reply.
from cargo-show-asm.
from cargo-show-asm.
I released 0.2.20 with a workaround for this problem. Will close the ticket with a proper fix once cargo-metadata updates.
from cargo-show-asm.
Related Issues (20)
- Compare / Diff between two version of Compilation HOT 4
- Fails when LTO is enabled HOT 17
- Fails with -Z asm-comments HOT 11
- How to dump disassembly of PGO optimized builds? HOT 3
- thread 'main' panicked at 'No cdylib?' HOT 9
- Support multiple codegen units?
- Missing license files HOT 5
- Fails to find rust sources on windows HOT 23
- Support inlining info in asm files
- `--print KIND=PATH` is stable
- Remove extraneous blank lines HOT 5
- `sample` test case is broken with 1.75 HOT 12
- Add use a separate library to implement syntax highlight for llvm/mir/asm
- Wrong path used for rustc sources HOT 10
- Automate release process
- --rust flag shows code from libstd HOT 4
- Function selection via index broken on v0.2.24 to v0.2.28 HOT 6
- Option to include called functions (to some depth) HOT 6
- Install fails with rustc 1.74.0 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-show-asm.