Skip to content

Commit

Permalink
rust: update to 1.78.0
Browse files Browse the repository at this point in the history
  • Loading branch information
filnet committed May 3, 2024
1 parent b7f1b05 commit 09d225d
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 20 deletions.
16 changes: 8 additions & 8 deletions mingw-w64-rust/0007-clang-subsystem.patch
Original file line number Diff line number Diff line change
Expand Up @@ -120,16 +120,16 @@ $ diff -urN rustc-1.75.0-src/compiler/rustc_target/src/spec/base/windows_gnu.rs.
linker: Some("gcc".into()),
dynamic_linking: true,
dll_tls_export: false,
diff -urN rustc-1.65.0-src.orig/compiler/rustc_target/src/spec/x86_64_pc_windows_gnu.rs rustc-1.65.0-src/compiler/rustc_target/src/spec/x86_64_pc_windows_gnu.rs
--- rustc-1.65.0-src.orig/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs 2022-11-09 21:53:40.408733200 +0100
+++ rustc-1.65.0-src/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs 2022-11-09 22:07:46.192364800 +0100
@@ -7,7 +7,7 @@
base.add_pre_link_args(LinkerFlavor::Ld, &["-m", "i386pep", "--high-entropy-va"]);
base.add_pre_link_args(LinkerFlavor::Gcc, &["-m64", "-Wl,--high-entropy-va"]);
base.max_atomic_width = Some(64);
diff -urN rustc-1.78.0-src/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs.orig rustc-1.78.0-src/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs
--- rustc-1.78.0-src/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs.orig 2024-05-03 21:03:07.983614400 +0200
+++ rustc-1.78.0-src/compiler/rustc_target/src/spec/targets/x86_64_pc_windows_gnu.rs 2024-05-03 21:37:12.067938000 +0200
@@ -12,7 +12,7 @@
);
base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m64", "-Wl,--high-entropy-va"]);
base.max_atomic_width = Some(128);
- base.linker = Some("x86_64-w64-mingw32-gcc".into());
+ base.linker = Some("x86_64-w64-mingw32-clang".into());

Target {
llvm_target: "x86_64-pc-windows-gnu".into(),
diff -urN rustc-1.76.0-src/src/bootstrap/bootstrap.py.orig rustc-1.76.0-src/src/bootstrap/bootstrap.py
Expand Down

0 comments on commit 09d225d

Please sign in to comment.