If you do a build without setting CARGO_BUILD_SBOM=true
, then do the same build except this time setting CARGO_BUILD_SBOM=true
, then no SBOM is generated.
$ cargo init foo $ cd foo $ cargo +nightly build ... $ CARGO_BUILD_SBOM=true cargo +nightly -Z sbom build ... $ ls target/debug/ build deps examples foo foo.d incrementalExpected behaviour
I expect the second build to generate an SBOM file for foo.
StepsNo response
Possible Solution(s)No response
NotesNo response
Versioncargo 1.89.0-nightly (fc1518ef0 2025-06-06)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4