These tarball cannot be reused, so simply drop them. Also move cargo config to a file instead of using echo command. Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
8 lines
206 B
Text
8 lines
206 B
Text
[target.@RUSTC_TARGET_ARCH@]
|
|
linker = "@TARGET_CC_NOCACHE@"
|
|
rustflags = ["-Ctarget-feature=-crt-static", "-Clink-args=@RUSTC_LDFLAGS@"]
|
|
|
|
[profile.stripped]
|
|
inherits = "release"
|
|
opt-level = "s"
|
|
strip = true
|