BD103

Results 206 comments of BD103

Although it may be overkill, you can accomplish the static analysis by creating a `rustc` driver, just like the [Bevy Linter](https://thebevyflock.github.io/bevy_cli/linter/index.html) does. `rustc` drivers give you full access to type...

I can't seem to reproduce this locally on MacOS. The `jpeg` feature enables `image/jpeg`, which adds a dependency on `zune-core` and `zune-jpeg`. [This](https://github.com/etemesi254/zune-image) is the repository, though with a quick...

This is the markdownlint error message for reference, copied from CI: ``` /github/workspace/docs/profiling.md:45:1 MD033/no-inline-html Inline HTML [Element: details] /github/workspace/docs/profiling.md:46:3 MD033/no-inline-html Inline HTML [Element: summary] /github/workspace/docs/profiling.md:48:1 MD004/ul-style Unordered list style [Expected:...

> Note: I avoided changing the settings on Linux and MacOS because I can't test on those platforms. It would be nice if someone could test similar changes there and...

> Why does it have an alias for `cargo run -p ci` then? I added that feature because I thought `config_fast_builds.toml` was targeted towards contributors. Honestly I still feel this...

Marking this as "Needs Testing:" someone with an x86-64 Windows machine should test the configuration that @janhohenheim used.

> ```rust > #[expect(clippy::rust_prelude_name_clash)] > pub struct Drop; > ``` Is `#[expect(...)]` stable Rust? I didn't think it got out of nightly yet.

Ok! I was hoping to use it in my own projects, which is why I was asking.

@TrialDragon compiled a list of affected crates [on Discord](https://discord.com/channels/691052431525675048/743559241461399582/1262677721000050800): ``` bevy_animation bevy_asset bevy_audio bevy_core_pipeline bevy_pbr bevy_render bevy_scene bevy_state bevy_window bevy_gltf; everything post 0.13.2 fails bevy_gizmos; 0.14.0-rc.4 fails, but 0.14.0 doesn't...

> Is there a reason you're de referencing the static reference you get from [`Location::caller`](https://doc.rust-lang.org/std/panic/struct.Location.html#method.caller)? Couldn't you just pass the reference around? `Location` is two `u32`s and one `&str`, making...