check for CONFIG_RUST_OVERFLOW_CHECKS when rust is enabled
This commit is contained in:
parent
c3880c51e1
commit
7863538509
|
@ -18,7 +18,7 @@ function enable_rust_config() {
|
|||
make rustavailable
|
||||
make rust.config
|
||||
|
||||
if ! grep -q 'CONFIG_RUST=y' .config; then
|
||||
if ! grep -q 'CONFIG_RUST=y' .config && ! grep -q 'CONFIG_RUST_OVERFLOW_CHECKS=y' .config; then
|
||||
echo 'ERROR: building with Rust does not seem to be possible'
|
||||
exit 4
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue