Kirill Mikhailov b33b877592
Bump edition to 2024, bump MSRV to 1.85 (#3391)
* inter-state

* inter-state (2)

* warnings fix

* fix warnings

* fmt + changelogs

* another unsafe extern "C" doode

* real fmt now

* MSRV + format

* Ignore unsafe_op_in_unsafe_fn lint for now in esp-hal and esp-wifi

* msrv + fmt

* ugh....

* get lcd_cam example right

* expr_2021 -> expr experiment

* gagagugu

* reviews

* more unneeded unsafes (help)

* finish esp-hal unsafe cleanup

* each unsafe call is marked separately

fmt

* should be good now (?)

* piece was never an option...

* dumb
2025-04-22 10:39:11 +00:00

24 lines
654 B
Rust

use std::{env, path::PathBuf};
use esp_config::{ConfigOption, Stability, Validator, Value, generate_config};
fn main() {
let out = PathBuf::from(env::var_os("OUT_DIR").unwrap());
println!("cargo:rustc-link-search={}", out.display());
// emit config
generate_config(
"esp_ieee802154",
&[ConfigOption {
name: "rx_queue_size",
description: "Size of the RX queue in frames",
default_value: Value::Integer(50),
constraint: Some(Validator::PositiveInteger),
stability: Stability::Unstable,
active: true,
}],
true,
true,
);
}