We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1648677 commit c126016Copy full SHA for c126016
1 file changed
init/Kconfig
@@ -2078,14 +2078,14 @@ config RUST
2078
If unsure, say N.
2079
2080
config RUSTC_VERSION_TEXT
2081
- depends on RUST
2082
string
2083
- default $(shell,$(RUSTC) --version)
+ depends on RUST
+ default $(shell,command -v $(RUSTC) >/dev/null 2>&1 && $(RUSTC) --version || echo n)
2084
2085
config BINDGEN_VERSION_TEXT
2086
2087
2088
- default $(shell,$(BINDGEN) --version)
+ default $(shell,command -v $(BINDGEN) >/dev/null 2>&1 && $(BINDGEN) --version || echo n)
2089
2090
#
2091
# Place an empty function call at each tracepoint site. Can be
0 commit comments