You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building doc tests, cargo settings like --jobs are ignored, and the linker specified in config.toml is also ignored.
However, by setting rustdocflags we can control the linker correctly. This should use the project-level linker by default.
Context
These limitations make problems with slow / high memory doc test construction (see #75341) much harder to mitigate.
The approach proposed in #51228 may offer a way to fix this.
When building doc tests, cargo settings like
--jobs
are ignored, and thelinker
specified inconfig.toml
is also ignored.However, by setting
rustdocflags
we can control the linker correctly. This should use the project-level linker by default.Context
These limitations make problems with slow / high memory doc test construction (see #75341) much harder to mitigate.
The approach proposed in #51228 may offer a way to fix this.
Initially discovered by Giooschi on the Bevy Discord while investigating bevyengine/bevy#12207.
Meta
The text was updated successfully, but these errors were encountered: