Using dynamic_linking
on Windows breaks cargo test --doc
#14129
Labels
A-Build-System
Related to build systems or continuous integration
C-Bug
An unexpected or incorrect behavior
C-Docs
An addition or correction to our documentation
C-Testing
A change that impacts how we test Bevy or how users test their apps
O-Windows
Specific to the Windows desktop operating system
P-Crash
A sudden unexpected crash
Uh oh!
There was an error while loading. Please reload this page.
originally discovered in #13553
Bevy version
0.14.0
Relevant system information
What you did
Cargo.toml
lib.rs
What went wrong
Running
cargo test --doc
results in a failure:That exit code means that a dynamic library was not found. Indeed, removing the
dynamic_linking
feature fixes this.Additional information
Quoting @SkiFire13 here:
Since this breaks doctests for Windows users following Bevy's recommended settings, we should probably make readers aware of this. I opened bevyengine/bevy-website#1522 to add a little mention to the dynamic-on-Windows disclaimer we have anyways.
The text was updated successfully, but these errors were encountered: