diff --git a/crates/compiler/builtins/src/bitcode.rs b/crates/compiler/builtins/src/bitcode.rs index 0dd09aaea7..a0fe8ae9b1 100644 --- a/crates/compiler/builtins/src/bitcode.rs +++ b/crates/compiler/builtins/src/bitcode.rs @@ -130,10 +130,10 @@ impl IntWidth { // according to https://reviews.llvm.org/D28990#655487 // // however, rust does not always think that this is true + // Our alignmets here are correct, but they will not match rust/zig/llvm until they update to llvm version 18. match target_info.architecture { - Architecture::X86_64 => 16, - Architecture::Aarch64 | Architecture::Aarch32 | Architecture::Wasm32 => 16, - Architecture::X86_32 => 8, + Architecture::X86_64 | Architecture::Aarch64 | Architecture::X86_32 => 16, + Architecture::Aarch32 | Architecture::Wasm32 => 8, } } }