File: disable-rustup-check.patch

package info (click to toggle)
corrosion 0.5.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,048 kB
  • sloc: cpp: 121; sh: 20; ansic: 8; makefile: 4
file content (11 lines) | stat: -rw-r--r-- 396 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
--- a/test/find_rust/rustup_proxy/CMakeLists.txt
+++ b/test/find_rust/rustup_proxy/CMakeLists.txt
@@ -20,7 +20,7 @@
         )
     endif()
 
-    if (NOT _VERSION_RAW MATCHES "rustup [0-9\\.]+")
+    if (NOT _VERSION_RAW MATCHES "(cargo|rustc) [0-9\\.]+")
         message(FATAL_ERROR "`${executable_path} --version` output does not match rustup: ${_VERSION_RAW}\n")
     endif()
 endfunction()