From b1fbafddbbfbe7894faa6fa78cb1bcf0eb5089a1 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Mon, 29 Nov 2021 16:56:45 -0500 Subject: rustbuild: Add support for a per-target default-linker option. --- config.toml.example | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'config.toml.example') diff --git a/config.toml.example b/config.toml.example index 4dd953a495d..f24f8e81a79 100644 --- a/config.toml.example +++ b/config.toml.example @@ -488,9 +488,12 @@ changelog-seen = 2 # FIXME(#75760): Some UI tests fail when this option is enabled. #parallel-compiler = false -# The default linker that will be hard-coded into the generated compiler for -# targets that don't specify linker explicitly in their target specifications. -# Note that this is not the linker used to link said compiler. +# The default linker that will be hard-coded into the generated +# compiler for targets that don't specify a default linker explicitly +# in their target specifications. Note that this is not the linker +# used to link said compiler. It can also be set per-target (via the +# `[target.]` block), which may be useful in a cross-compilation +# setting. # # See https://doc.rust-lang.org/rustc/codegen-options/index.html#linker for more information. #default-linker = (path) -- cgit 1.4.1-3-g733a5