Skip to content

Commit

Permalink
Add support for Arm64EC
Browse files Browse the repository at this point in the history
  • Loading branch information
dpaoliello committed Mar 28, 2024
1 parent 927aa84 commit a41c07f
Show file tree
Hide file tree
Showing 86 changed files with 2,822 additions and 2,525 deletions.
1 change: 1 addition & 0 deletions .github/workflows/clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,6 +162,7 @@ jobs:
cargo clippy -p windows-version &&
cargo clippy -p windows_aarch64_gnullvm &&
cargo clippy -p windows_aarch64_msvc &&
cargo clippy -p windows_arm64ec_msvc &&
cargo clippy -p windows_i686_gnu &&
cargo clippy -p windows_i686_msvc &&
cargo clippy -p windows_x86_64_gnu &&
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -107,8 +107,8 @@ jobs:
cargo test -p test_dispatch &&
cargo test -p test_does_not_return &&
cargo test -p test_enums &&
cargo clean &&
cargo test -p test_error &&
cargo clean &&
cargo test -p test_event &&
cargo test -p test_extensions &&
cargo test -p test_handles &&
Expand Down Expand Up @@ -170,6 +170,7 @@ jobs:
cargo test -p windows-version &&
cargo test -p windows_aarch64_gnullvm &&
cargo test -p windows_aarch64_msvc &&
cargo test -p windows_arm64ec_msvc &&
cargo test -p windows_i686_gnu &&
cargo test -p windows_i686_msvc &&
cargo test -p windows_x86_64_gnu &&
Expand Down
1 change: 1 addition & 0 deletions crates/libs/bindgen/src/rust/cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ fn cfg_add_attributes<R: AsRow + Into<metadata::HasAttribute>>(cfg: &mut Cfg, ro
}
if value & 2 == 2 {
cfg.arches.insert("x86_64");
cfg.arches.insert("arm64ec");
}
if value & 4 == 4 {
cfg.arches.insert("aarch64");
Expand Down
Loading

0 comments on commit a41c07f

Please sign in to comment.