diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2024-09-05 21:06:29 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2024-09-10 12:54:49 +0200 |
commit | 26df8c65a2821d3e7b2952549edd53628dc5427f (patch) | |
tree | 0a2ad8653d0012d4b912e5e7f8f8771c751be0bb /lang/rust/files | |
parent | audio/schismtracker: Update to 20240909 (diff) |
lang/rust: Update to 1.81.0
Announce: https://blog.rust-lang.org/2024/09/05/Rust-1.81.0.html
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.81.0
PR: 281300
Tested by: mikael,pkubaj,Herbert J. Skuhra
Diffstat (limited to 'lang/rust/files')
-rw-r--r-- | lang/rust/files/patch-vendor_cc.rs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/rust/files/patch-vendor_cc.rs b/lang/rust/files/patch-vendor_cc.rs index f12948036741..2d28eb8be9b5 100644 --- a/lang/rust/files/patch-vendor_cc.rs +++ b/lang/rust/files/patch-vendor_cc.rs @@ -76,3 +76,16 @@ https://reviews.llvm.org/D77776 (false, false, true) => Ok(ToolFamily::Gnu), (false, false, false) => { cargo_output.print_warning(&"Compiler family detection failed since it does not define `__clang__`, `__GNUC__` or `_MSC_VER`, fallback to treating it as GNU"); +--- vendor/cc-1.0.99/src/tool.rs.orig 2024-05-09 18:20:47 UTC ++++ vendor/cc-1.0.99/src/tool.rs +@@ -151,9 +151,7 @@ impl Tool { + + match (clang, accepts_cl_style_flags, gcc) { + (clang_cl, true, _) => Ok(ToolFamily::Msvc { clang_cl }), +- (true, false, _) => Ok(ToolFamily::Clang { +- zig_cc: is_zig_cc(path, cargo_output), +- }), ++ (true, false, _) => Ok(ToolFamily::Gnu), + (false, false, true) => Ok(ToolFamily::Gnu), + (false, false, false) => { + cargo_output.print_warning(&"Compiler family detection failed since it does not define `__clang__`, `__GNUC__` or `_MSC_VER`, fallback to treating it as GNU"); |