mirror of
https://github.com/embassy-rs/embassy.git
synced 2025-09-27 04:10:25 +00:00
fix: add workaround for current compiler version
This commit is contained in:
parent
cd7a7f97c0
commit
1f9452e076
@ -21,6 +21,7 @@ flate2 = "1.1.1"
|
||||
|
||||
[patch.crates-io]
|
||||
cargo-semver-checks = { git = "https://github.com/lulf/cargo-semver-checks.git", rev="385f274edcbb6bf5156e30a94315852b27a527e6" }
|
||||
#cargo-semver-checks = { path = "../../cargo-semver-checks" }
|
||||
|
||||
[package.metadata.embassy]
|
||||
skip = true
|
||||
|
@ -13,6 +13,9 @@ pub fn minimum_update(krate: &Crate) -> Result<ReleaseType, anyhow::Error> {
|
||||
let package_name = krate.name.clone();
|
||||
let current_path = build_doc_json(krate, config)?;
|
||||
|
||||
// TODO: Prevent compiler panic on current compiler version
|
||||
std::env::set_var("RUSTFLAGS", "--cap-lints=warn");
|
||||
|
||||
let baseline = Rustdoc::from_registry_latest_crate_version();
|
||||
let doc = Rustdoc::from_path(¤t_path);
|
||||
let mut semver_check = Check::new(doc);
|
||||
|
Loading…
x
Reference in New Issue
Block a user