Skip to content

Commit 363e307

Browse files
CopilotBrooooooklyn
andcommitted
Add target-feature=+jsconv for all aarch64 targets
Co-authored-by: Brooooooklyn <3468483+Brooooooklyn@users.noreply.github.com>
1 parent 8254340 commit 363e307

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.cargo/config.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ rustflags = ["-C", "target-feature=+crt-static"]
2525
[target.aarch64-pc-windows-msvc]
2626
rustflags = ["-C", "target-feature=+crt-static"]
2727

28+
# Enable jsconv target feature for all aarch64 targets to support FJCVTZS instruction
29+
[target.'cfg(target_arch = "aarch64")']
30+
rustflags = ["-C", "target-feature=+jsconv"]
31+
2832
# To be able to run unit tests on Windows, support compilation to 'x86_64-pc-windows-msvc'.
2933
# Use Hybrid CRT to reduce the size of the binary (Coming by default with Windows 10 and later versions).
3034
[target.'cfg(target_os = "windows")']

0 commit comments

Comments
 (0)