We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf81aa1 commit f1a0eb5Copy full SHA for f1a0eb5
build.rs
@@ -81,7 +81,7 @@ fn bootstrap(libc_dir: &Path) {
81
fn configure(libc_dir: &Path) {
82
println!("Configuring avr-libc");
83
84
- let host = env::var("HOST").unwrap();;
+ let host = env::var("HOST").unwrap();
85
86
let mut cmd = Command::new("sh");
87
cmd.arg("configure");
@@ -168,7 +168,7 @@ fn base_headers(libc_dir: &Path) -> Vec<PathBuf> {
168
}
169
170
fn mcu_define_name() -> Option<&'static str> {
171
- MCU.as_ref().map(|mcu| mcu.c_preprocessor_name)
+ MCU.as_ref().map(|mcu| &mcu.c_preprocessor_name[..])
172
173
174
fn generate_bindings(libc_dir: &Path) {
0 commit comments