Closed
Description
In bevyengine/bevy#14129, we discovered an issue when running cargo test --doc
on Windows when linking Bevy dynamically. See that issue for a reproducible minimal example.
In bevyengine/bevy-website#1522, I added a workaround to Bevy's documentation, namely:
In order to run
cargo test --doc
, you must also add the path returned byrustc --print target-libdir
to yourPATH
environment variable.
This fixes this issue when running cargo test --doc
, but cargo clif test --doc
still results in a dynamic library resolution error:
Test executable failed (exit code: 0xc0000135).
Metadata
Metadata
Assignees
Labels
No labels