Skip to content

Commit 89f65cf

Browse files
committed
-Zmutable-noalias
1 parent 9964598 commit 89f65cf

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
rm -f target/wheels/*
44

5-
export RUSTFLAGS="-C target-feature=+sse2 $RUSTFLAGS"
5+
export RUSTFLAGS="-Zmutable-noalias -C target-feature=+sse2 $RUSTFLAGS"
66

77
maturin build --no-sdist --manylinux 1 -i python3 --release "$@"
88

ci/azure-linux38.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ steps:
1515
displayName: test dependencies
1616
- bash: PATH=$(path) pip install --user -r integration/requirements.txt
1717
displayName: integration dependencies
18-
- bash: PATH=$(path) RUSTFLAGS="-C target-feature=+sse2" maturin build --release --strip --manylinux $(manylinux) --interpreter $(interpreter) --target $(target)
18+
- bash: PATH=$(path) RUSTFLAGS="-Zmutable-noalias -C target-feature=+sse2" maturin build --release --strip --manylinux $(manylinux) --interpreter $(interpreter) --target $(target)
1919
displayName: build
2020
- bash: PATH=$(path) pip install --user target/wheels/orjson*.whl
2121
displayName: install

ci/azure-posix.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
displayName: test dependencies
1111
- bash: pip install -r integration/requirements.txt
1212
displayName: integration dependencies
13-
- bash: PATH=$HOME/.cargo/bin:$PATH RUSTFLAGS="-C target-feature=+sse2" maturin build --release --strip --manylinux $(manylinux) --interpreter $(interpreter) --target $(target)
13+
- bash: PATH=$HOME/.cargo/bin:$PATH RUSTFLAGS="-Zmutable-noalias -C target-feature=+sse2" maturin build --release --strip --manylinux $(manylinux) --interpreter $(interpreter) --target $(target)
1414
displayName: build
1515
- bash: pip install target/wheels/orjson*.whl
1616
displayName: install

ci/azure-win.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ steps:
1616
displayName: test dependencies
1717
- script: maturin.exe build --release --strip --interpreter $(interpreter)
1818
env:
19-
RUSTFLAGS: "-C target-feature=+sse2"
19+
RUSTFLAGS: "-Zmutable-noalias -C target-feature=+sse2"
2020
displayName: build
2121
- script: python.exe -m pip install orjson --find-links=D:\a\1\s\target\wheels\
2222
displayName: install

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ requires = ["maturin>=0.7.7,<0.8"]
88

99
[tool.maturin]
1010
manylinux = "off"
11-
rustc-extra-args = "-C target-feature=+sse2"
11+
rustc-extra-args = "-Zmutable-noalias -C target-feature=+sse2"
1212
strip = "on"
1313

1414
[tool.black]

0 commit comments

Comments
 (0)