about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm_util.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2022-10-14 00:45:17 +0200
committerGitHub <noreply@github.com>2022-10-14 00:45:17 +0200
commitc7f048ea00c35dc6d30ba8e63ace96bbc65cc153 (patch)
tree05d11b6549672b176fd0bafbc79b808ec50c7445 /compiler/rustc_codegen_llvm/src/llvm_util.rs
parent6b3ede3f7bc502eba7bbd202b4b9312d812adcd7 (diff)
parent097b6d3bafb1d61bfe8fd3f5e9d9acfd9ee2c702 (diff)
downloadrust-c7f048ea00c35dc6d30ba8e63ace96bbc65cc153.tar.gz
rust-c7f048ea00c35dc6d30ba8e63ace96bbc65cc153.zip
Rollup merge of #103000 - wesleywiser:suggest_libname, r=compiler-errors
Add suggestion to the "missing native library" error

If we fail to locate a native library that we are linking with, it could be the case the user entered a complete file name like `foo.lib` or `libfoo.a` when we expect them to simply provide `foo`.

In this situation, we now detect that case and suggest the user only provide the library name itself.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm_util.rs')
0 files changed, 0 insertions, 0 deletions