I'm thinking of if it is possible to use rust-lld installed by rustup component add llvm-tools-preview using a one-line config like linker=rust-lld. Currently configuring it on macOS is relatively hard. Basically what I'm doing now is like: rustflags = [ "-Clink-arg=-fuse-ld=/Users...
"//build_plugins/config/aosp:lld_pack_relocations", "//build/config/gcc:symbol_visibility_inline_hidden", ] } # Static libraries and source sets use only the compiler ones. default_static_library_configs = default_compiler_configs default_source_set_configs = default_compiler_configs ...
#Use the LLD linker, it should be faster than the default. #See: https://github.com/rust-lang/rust/issues/71520 Expand Down 2 changes: 1 addition & 1 deletion2web/packages/core/tools/build_wasm.ts Original file line numberDiff line numberDiff line change ...
"//build_plugins/config/aosp:lld_pack_relocations", "//build/config/gcc:symbol_visibility_inline_hidden", ] } # Static libraries and source sets use only the compiler ones. default_static_library_configs = default_compiler_configs default_source_set_configs = default_compiler_configs ...
if (use_lld) { if (is_win) { # On Windows, we call the linker directly, instead of calling it through # the driver. ldflags += [ "--color-diagnostics" ] } else { ldflags += [ "-Wl,--color-diagnostics" ] } } if (is_clang && !is_nacl && !use_xcode_clan...
# only succeed if you use clang, lld, llvm-ar, and llvm-ranlib in your C/C++ # toolchain (see the `cc`, `cxx`, `linker`, `ar`, and `ranlib` options below). # More info at: https://clang.llvm.org/docs/ThinLTO.html#clang-bootstrap #thin-lto = false # Indicates whether an...
"//build_plugins/config/aosp:lld_pack_relocations", "//build/config/gcc:symbol_visibility_inline_hidden", ] } # Static libraries and source sets use only the compiler ones. default_static_library_configs = default_compiler_configs default_source_set_configs = default_compiler_configs ...
Anyhow, if you manage to settle on a well-working libcurl.pc (preferably not just with CMake, but a bare linker command-line) we might use this to generate a usable one in the future. For sure it'd be useful, but I'm not confident that this is a achievable goal. Author avih com...
if (use_lld) { if (is_win) { # On Windows, we call the linker directly, instead of calling it through # the driver. ldflags += [ "--color-diagnostics" ] } else { ldflags += [ "-Wl,--color-diagnostics" ] } } if (is_clang && !is_nacl && !use_xcode_clang)...
Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feedback Saved searches Use saved searches to filter your...