diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2025-05-16 09:46:00 +0200 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2025-06-05 09:51:32 +0200 |
commit | 2add7bc03f9c30c9eb6d60f5becd40e61c9ea122 (patch) | |
tree | d48556855335252bf6e3e5f4108496052dd28ee8 /lang/rust/files/patch-vendor_cc.rs | |
parent | devel/py-decli: update to 0.6.3 (diff) |
lang/rust: Update to 1.87.0
Announce: https://blog.rust-lang.org/2025/05/15/Rust-1.87.0/
ChangeLog: https://github.com/rust-lang/rust/releases/tag/1.87.0
PR: 286829
Tested by: mikael,pkubaj,Herbert J. Skuhra
Diffstat (limited to 'lang/rust/files/patch-vendor_cc.rs')
-rw-r--r-- | lang/rust/files/patch-vendor_cc.rs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/lang/rust/files/patch-vendor_cc.rs b/lang/rust/files/patch-vendor_cc.rs index c711d629e744..4bc3a7b24e42 100644 --- a/lang/rust/files/patch-vendor_cc.rs +++ b/lang/rust/files/patch-vendor_cc.rs @@ -60,8 +60,21 @@ https://reviews.llvm.org/D77776 (false, false, true, _, false) | (_, _, _, _, true) => Ok(ToolFamily::Gnu), (false, false, false, false, false) => { cargo_output.print_warning(&"Compiler family detection failed since it does not define `__clang__`, `__GNUC__`, `__EMSCRIPTEN__` or `__VXWORKS__`, also does not accept cl style flag `-?`, fallback to treating it as GNU"); ---- vendor/cc-1.2.13/src/tool.rs.orig 2024-05-09 18:20:47 UTC -+++ vendor/cc-1.2.13/src/tool.rs +--- vendor/cc-1.2.16/src/tool.rs.orig 2024-05-09 18:20:47 UTC ++++ vendor/cc-1.2.16/src/tool.rs +@@ -174,9 +174,7 @@ impl Tool { + + match (clang, accepts_cl_style_flags, gcc, emscripten, vxworks) { + (clang_cl, true, _, false, false) => Ok(ToolFamily::Msvc { clang_cl }), +- (true, _, _, _, false) | (_, _, _, true, false) => Ok(ToolFamily::Clang { +- zig_cc: is_zig_cc(path, cargo_output), +- }), ++ (true, _, _, _, false) | (_, _, _, true, false) => Ok(ToolFamily::Gnu), + (false, false, true, _, false) | (_, _, _, _, true) => Ok(ToolFamily::Gnu), + (false, false, false, false, false) => { + cargo_output.print_warning(&"Compiler family detection failed since it does not define `__clang__`, `__GNUC__`, `__EMSCRIPTEN__` or `__VXWORKS__`, also does not accept cl style flag `-?`, fallback to treating it as GNU"); +--- vendor/cc-1.2.17/src/tool.rs.orig 2024-05-09 18:20:47 UTC ++++ vendor/cc-1.2.17/src/tool.rs @@ -174,9 +174,7 @@ impl Tool { match (clang, accepts_cl_style_flags, gcc, emscripten, vxworks) { |