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
As the title says. src/rt/rust_builtin.c includes src/rt/valgrind/valgrind.h, valgrind.h uses the uintptr_t type defined in <stdint.h> but does not include <stdint.h> itself.
Either rust_builtin.c needs to include <stdint.h> before valgrind.h, or valgrind.h needs to include <stdint.h> along with an include guard. I'd do this myself, but I should presumably understand the code at least slightly before I mess about with it.
The text was updated successfully, but these errors were encountered:
internal: Consider all kinds of explicit private imports in find_path
Builds on top of rust-lang/rust-analyzer#16265 to make things a bit more general, now we consider all explicit private imports.
As the title says. src/rt/rust_builtin.c includes src/rt/valgrind/valgrind.h, valgrind.h uses the uintptr_t type defined in <stdint.h> but does not include <stdint.h> itself.
Either rust_builtin.c needs to include <stdint.h> before valgrind.h, or valgrind.h needs to include <stdint.h> along with an include guard. I'd do this myself, but I should presumably understand the code at least slightly before I mess about with it.
The text was updated successfully, but these errors were encountered: