Skip to content

Commit 1410f81

Browse files
committed
make sure deps in meta are sorted
1 parent 22cda73 commit 1410f81

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ bevy_utils = { version = "0.17", default-features = false, features = ["std"] }
198198
glam = { version = "0.30.7", default-features = false }
199199
uuid = { version = "1.13", default-features = false }
200200
smol_str = { version = "0.2.0", default-features = false }
201-
nonmax = { version = "0.5.5", default-features = false, features = ["std"] }
201+
nonmax = { version = "0.5", default-features = false, features = ["std"] }
202202

203203
# other
204204
serde_json = { version = "1.0", default-features = false }

codegen/src/meta.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ use std::{
77

88
use cargo_metadata::camino::Utf8PathBuf;
99
use chrono::NaiveDateTime;
10+
use indexmap::IndexMap;
1011
use log::trace;
1112
use rustc_hir::def_id::DefPathHash;
1213
use serde::{Deserialize, Serialize, Serializer};
@@ -38,7 +39,7 @@ pub struct Meta {
3839
pub(crate) version: String,
3940

4041
/// a map of crate names to the features that crate was compiled with
41-
pub(crate) dependencies: HashMap<String, Dependency>,
42+
pub(crate) dependencies: IndexMap<String, Dependency>,
4243
}
4344

4445
#[derive(Serialize, Deserialize, Clone, Debug)]

codegen/src/passes/find_methods_and_fields.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -202,10 +202,6 @@ pub(crate) fn find_methods_and_fields(ctxt: &mut BevyCtxt<'_>, args: &Args) -> b
202202
})
203203
.unwrap_or(true);
204204

205-
log::info!("function: {}, is_stable_for_target: {is_stable_for_target}, stability: {:?}", ctxt.tcx.item_name(def_id), ctxt
206-
.tcx
207-
.lookup_stability(fn_did));
208-
209205
if !is_stable_for_target {
210206
log::debug!(
211207
"Skipping unstable function: `{}` on type: `{}`, msrv target: {:?}",

0 commit comments

Comments
 (0)