LLVM warning "fragment covers entire variable" when compiling sdl2 crate in release profile with debuginfo #49565
Labels
A-debuginfo
Area: Debugging information in compiled programs (DWARF, PDB, etc.)
A-LLVM
Area: Code generation parts specific to LLVM. Both correctness bugs and optimization-related issues.
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Note: This issue was downstreamed to the compiler on request of the
sdl2
crate author: Rust-SDL2/rust-sdl2#761Using
rustc 1.26.0-nightly (517f24025 2018-03-31)
:The warnings point at
custom_log_fn
in the crate.This is not a minimal test case, because it requires installing libsdl2 (using brew, apt, yum, etc) and there is a lot going on in the
sdl2
crate.The text was updated successfully, but these errors were encountered: