zig host target native->x86_64-native

This commit is contained in:
Anton-4 2024-04-06 13:51:53 +02:00
parent a9a243678a
commit bb38721eaf
No known key found for this signature in database
GPG key ID: 0971D718C0A9B937

View file

@ -486,7 +486,10 @@ pub fn rebuild_host(
&env_home, &env_home,
host_dest.to_str().unwrap(), host_dest.to_str().unwrap(),
zig_host_src.to_str().unwrap(), zig_host_src.to_str().unwrap(),
"native", // This used to be "native" but that caused segfaults that were hard to
// reproduce and investigate.
// For context: github.com/roc-lang/roc/pull/6591#issuecomment-2039808944
"x86_64-native",
opt_level, opt_level,
shared_lib_path, shared_lib_path,
builtins_host_tempfile.path(), builtins_host_tempfile.path(),