about summary refs log tree commit diff
path: root/compiler/rustc_builtin_macros/src/errors.rs
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-08-20 15:57:16 +1000
committerZalathar <Zalathar@users.noreply.github.com>2024-08-23 10:10:34 +1000
commit585804fceeeb0f95fc18fbd4a072dfc9c63bee14 (patch)
tree140bbf95ec9406e242d77b77acb06d5a2a44847e /compiler/rustc_builtin_macros/src/errors.rs
parenteff09483c67e6fc96c8098ba46dce476162754c5 (diff)
downloadrust-585804fceeeb0f95fc18fbd4a072dfc9c63bee14.tar.gz
rust-585804fceeeb0f95fc18fbd4a072dfc9c63bee14.zip
Check that `library/profiler_builtins` actually found some source files
The current `build.rs` will automatically skip source files that don't exist.
An unfortunate side-effect is that if _no_ files could be found (e.g. because
the directory was wrong), the build fails with a mysterious linker error.

We can reduce the awkwardness of this by explicitly checking that at least one
source file was found.
Diffstat (limited to 'compiler/rustc_builtin_macros/src/errors.rs')
0 files changed, 0 insertions, 0 deletions