Skip to content

Commit a41c07f

Browse files
committed
Add support for Arm64EC
1 parent 927aa84 commit a41c07f

File tree

86 files changed

+2822
-2525
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+2822
-2525
lines changed

.github/workflows/clippy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ jobs:
162162
cargo clippy -p windows-version &&
163163
cargo clippy -p windows_aarch64_gnullvm &&
164164
cargo clippy -p windows_aarch64_msvc &&
165+
cargo clippy -p windows_arm64ec_msvc &&
165166
cargo clippy -p windows_i686_gnu &&
166167
cargo clippy -p windows_i686_msvc &&
167168
cargo clippy -p windows_x86_64_gnu &&

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,8 +107,8 @@ jobs:
107107
cargo test -p test_dispatch &&
108108
cargo test -p test_does_not_return &&
109109
cargo test -p test_enums &&
110-
cargo clean &&
111110
cargo test -p test_error &&
111+
cargo clean &&
112112
cargo test -p test_event &&
113113
cargo test -p test_extensions &&
114114
cargo test -p test_handles &&
@@ -170,6 +170,7 @@ jobs:
170170
cargo test -p windows-version &&
171171
cargo test -p windows_aarch64_gnullvm &&
172172
cargo test -p windows_aarch64_msvc &&
173+
cargo test -p windows_arm64ec_msvc &&
173174
cargo test -p windows_i686_gnu &&
174175
cargo test -p windows_i686_msvc &&
175176
cargo test -p windows_x86_64_gnu &&

crates/libs/bindgen/src/rust/cfg.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ fn cfg_add_attributes<R: AsRow + Into<metadata::HasAttribute>>(cfg: &mut Cfg, ro
134134
}
135135
if value & 2 == 2 {
136136
cfg.arches.insert("x86_64");
137+
cfg.arches.insert("arm64ec");
137138
}
138139
if value & 4 == 4 {
139140
cfg.arches.insert("aarch64");

0 commit comments

Comments
 (0)