Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable the crt-static target feature
We were relying on the fact that our current targets link the C runtime statically. However, this may be different for other targets and could even change in the future (e.g., see rust-lang/compiler-team#422). With this commit we adopt the current recommendation, which is enabling the crt-static target feature when building. See https://doc.rust-lang.org/reference/linkage.html#static-and-dynamic-c-runtimes for details. Given the current defaults for Rust targets, this change should be a no-op, but this shall make us safer and more resilient to Rust changes in the long run. Signed-off-by: Leandro Motta Barros <leandro@balena.io> Change-type: patch
- Loading branch information