87
87
ifneq ($(call can-run,$(CARGO ) --version) ,y)
88
88
SUBDIRS_BLACKLIST += rust%
89
89
else
90
- # Old versions of rustc (<=1.34) fail to build socket2-0.3.12 because:
91
- # error[E0658]: use of unstable library feature 'maybe_uninit' (see issue #53491)
92
- # For more information about this error, try `rustc --explain E0658`.
93
90
# Old versions of rustc (<=1.39) fail to build subtle-2.3.0 because:
94
91
# error[E0210]: type parameter `T` must be used as the type parameter for some
95
92
# local type (e.g., `MyStruct<T>`)
@@ -100,11 +97,14 @@ else
100
97
# Old versions of rustc (<=1.42) fail to build object-0.23.0 because:
101
98
# error[E0658]: subslice patterns are unstable
102
99
# note: for more information, see https://github.com/rust-lang/rust/issues/62254
100
+ # Old versions of rustc (<=1.44) fail to build socket2-0.4.0 because:
101
+ # error[E0658]: `match` is not allowed in a `const fn`
102
+ # Fnote: see issue #49146 <https://github.com/rust-lang/rust/issues/49146> for more information
103
103
ifeq ($(call can-run,$(RUSTC ) --version | grep '^rustc 1\.\(3[0-4]\) \.'),y)
104
104
SUBDIRS_BLACKLIST += rust/asymkeyfind% rust/check_linux_pass% rust/download_web%
105
105
else ifeq ($(call can-run,$(RUSTC) --version | grep '^rustc 1\.\(3[0-9]\)\.'),y)
106
106
SUBDIRS_BLACKLIST += rust/check_linux_pass% rust/download_web%
107
- else ifeq ($(call can-run,$(RUSTC) --version | grep '^rustc 1\.\(4[0-1 ]\)\.'),y)
107
+ else ifeq ($(call can-run,$(RUSTC) --version | grep '^rustc 1\.\(4[0-4 ]\)\.'),y)
108
108
SUBDIRS_BLACKLIST += rust/download_web%
109
109
endif
110
110
endif
0 commit comments