Skip to content

Fix accuracy test with new cargo build layout - #767

Merged
ChrisDenton merged 2 commits into
rust-lang:masterfrom
philipc:accuracy
Sep 2, 2026
Merged

Fix accuracy test with new cargo build layout#767
ChrisDenton merged 2 commits into
rust-lang:masterfrom
philipc:accuracy

Conversation

@philipc

@philipc philipc commented Aug 12, 2026

Copy link
Copy Markdown
Contributor

This fixes the test on nightly rust.

Also remove unneeded dbginfo = "collapsible" because collapse_debuginfo is stable for our MSRV. This allows the test to run on stable rust again.

Also use DLL_PREFIX and DLL_SUFFIX from std::env::consts while here.

Not an ideal fix, but the only environment variable I found was CARGO_CDYLIB_FILE_DYLIB_DEP_dylib_dep with a Cargo.toml change and -Z bindeps.

This fixes the test on nightly rust.

Also remove unneeded `dbginfo = "collapsible"` because
`collapse_debuginfo` is stable in our MSRV. This allows the test
to run on stable rust again.

Also use DLL_PREFIX and DLL_SUFFIX from std::env::consts while here.

@ChrisDenton ChrisDenton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@ChrisDenton
ChrisDenton merged commit bfe2c30 into rust-lang:master Sep 2, 2026
39 checks passed
@philipc
philipc deleted the accuracy branch September 2, 2026 21:59
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

Successfully merging this pull request may close these issues.

2 participants