about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-07-01 20:29:56 +0200
committerGitHub <noreply@github.com>2024-07-01 20:29:56 +0200
commit6b2e6442187e9621693260cb4f2887f8afe55baa (patch)
tree1b726885b1a856cbd9158b80337312cc7bedc4e9 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parentc4baa3f2f470596a45ebe112cae26ca5a8fae792 (diff)
parent5f9a0d3844e5a00f2c821c9b1e7d17679b758036 (diff)
downloadrust-6b2e6442187e9621693260cb4f2887f8afe55baa.tar.gz
rust-6b2e6442187e9621693260cb4f2887f8afe55baa.zip
Rollup merge of #126832 - petrochenkov:linkarg, r=jieyouxu
linker: Refactor interface for passing arguments to linker

Separate arguments into passed to the underlying linker, to cc wrapper, or supported by both.
Also avoid allocations in all the argument passing functions.

The interfaces would look nicer if not the limitations on returning `&mut Self` in `dyn`-compatible traits, and unnecessary conflicts between `Trait` and `dyn Trait` methods.

try-job: armhf-gnu
try-job: aarch64-gnu
try-job: dist-x86_64-linux
try-job: x86_64-msvc
try-job: i686-msvc
try-job: dist-x86_64-apple
try-job: test-various
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions