diff --git a/.cargo/config b/.cargo/config index 90cff1a79669e325d717888bfe98d0297aff0642..581ef8e07f5f4ba7f07448a0223624066ed0f259 100644 --- a/.cargo/config +++ b/.cargo/config @@ -1,8 +1,2 @@ -[target.x86_64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static", "-C", "link-arg=-fstack-protector-all", "-C", "link-arg=-fpie", "-C", "link-arg=-DFORTIFY=2 -O2", "-C", "link-arg=-lm"] - -[target.aarch64-unknown-linux-musl] -rustflags = ["-C", "target-feature=-crt-static", "-C", "link-arg=-fstack-protector-all", "-C", "link-arg=-fpie", "-C", "link-arg=-DFORTIFY=2 -O2", "-C", "link-arg=-lm"] - [target.'cfg(unix)'] -rustflags = ["-C", "link-arg=-fstack-protector-all", "-C", "link-arg=-fpie", "-C", "link-arg=-DFORTIFY=2 -O2"] +rustflags = ["-C", "target-feature=-crt-static", "-C", "link-arg=-fstack-protector-all", "-C", "link-arg=-fpie", "-C", "link-arg=-DFORTIFY=2 -O2", "-C", "link-arg=-lm", "-C", "link-arg=-fstack-protector-all", "-C", "link-arg=-fpie", "-C", "link-arg=-DFORTIFY=2 -O2"] diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 280c98dfbb28f8adbdb6dd98f84838ae18990c20..32a7eb36120b39a609ce4f8fdceb633225b56385 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -19,7 +19,7 @@ repos: - id: codespell name: codespell description: Checks for common misspellings in text files. - entry: bash -c 'cargo clean;codespell -I ci/codespell_ignore_words -x ci/codespell_ignore_words -S *.rules' + entry: bash -c 'cargo clean;codespell -I ci/codespell_ignore_words -x ci/codespell_ignore_words -S *.rules -S ./vendor*' language: system pass_filenames: false verbose: true