stm32-metapac-gen: fix broken build.rs
This commit is contained in:
parent
0db4da10f8
commit
039621c56d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::env;
|
||||
|
||||
fn main() {
|
||||
let _chip_name = env::vars_os()
|
||||
let chip_name = env::vars_os()
|
||||
.map(|(a, _)| a.to_string_lossy().to_string())
|
||||
.find(|x| x.starts_with("CARGO_FEATURE_STM32"))
|
||||
.expect("No stm32xx Cargo feature enabled")
|
||||
|
|
Loading…
Reference in a new issue