diff --git a/src/agent/.cargo/config b/src/agent/.cargo/config index e2c49b02fd..7a843e5d72 100644 --- a/src/agent/.cargo/config +++ b/src/agent/.cargo/config @@ -4,6 +4,10 @@ ## [target.aarch64-unknown-linux-musl] +## Only setting linker with `aarch64-linux-musl-gcc`, the +## `rust-agent` could be totally statically linked. +linker = "aarch64-linux-musl-gcc" + ## The __addtf3, __subtf3 and __multf3 symbols are used by aarch64-musl, ## but are not provided by rust compiler-builtins. ## For now, the only functional workaround accepted by rust communities