Skip to content

Commit f4add34

Browse files
misc(aero.py): update to the new target triple
* Update to the new target triple (`x86_64-unknown-aero-system` to `x86_64-unknown-aero`) Signed-off-by: Anhad Singh <[email protected]>
1 parent f198cd6 commit f4add34

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aero.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -341,13 +341,13 @@ def get_mlibc(): return os.path.join("..", pkg_dir, PACKAGE_MLIBC)
341341

342342
command = 'build'
343343
# TODO: handle the unbased architectures.
344-
cmd_args = ["--target", "x86_64-unknown-aero-system",
344+
cmd_args = ["--target", "x86_64-unknown-aero",
345345

346346
# cargo config
347347
"--config", f"build.rustc = '{get_rustc()}'",
348-
"--config", "build.target = 'x86_64-unknown-aero-system'",
348+
"--config", "build.target = 'x86_64-unknown-aero'",
349349
"--config", f"build.rustflags = ['-C', 'link-args=-no-pie -B {get_binutils()} --sysroot {get_mlibc()}', '-lc']",
350-
"--config", f"target.x86_64-unknown-aero-system.linker = '{get_gcc()}'",
350+
"--config", f"target.x86_64-unknown-aero.linker = '{get_gcc()}'",
351351

352352
"-Z", "unstable-options"]
353353

0 commit comments

Comments
 (0)