trivial fix, make cargo happy
This commit is contained in:
parent
e527f2796c
commit
924fc34866
@ -1,4 +1,5 @@
|
||||
[workspace]
|
||||
resolver = "2"
|
||||
members = [
|
||||
"stm32-data-gen",
|
||||
"stm32-data-serde",
|
||||
|
@ -1,7 +1,9 @@
|
||||
use std::env;
|
||||
#[cfg(any(feature = "rt", feature = "memory-x"))]
|
||||
use std::path::PathBuf;
|
||||
|
||||
fn main() {
|
||||
#[cfg(any(feature = "rt", feature = "memory-x"))]
|
||||
let crate_dir = PathBuf::from(env::var_os("CARGO_MANIFEST_DIR").unwrap());
|
||||
|
||||
let chip_core_name = env::vars_os()
|
||||
|
Loading…
x
Reference in New Issue
Block a user