feat(m2): content-driven ruleset, balance cli and tuning findings
This commit is contained in:
@@ -33,7 +33,9 @@ pub extern "C" fn iron_arc_selftest(seed: u64) -> u64 {
|
||||
/// Returns the simulation version as a packed `major*10000 + minor*100 + patch`.
|
||||
#[no_mangle]
|
||||
pub extern "C" fn iron_arc_sim_version_code() -> u32 {
|
||||
let mut parts = sim::SIM_VERSION.split('.').filter_map(|p| p.parse::<u32>().ok());
|
||||
let mut parts = sim::SIM_VERSION
|
||||
.split('.')
|
||||
.filter_map(|p| p.parse::<u32>().ok());
|
||||
let major = parts.next().unwrap_or(0);
|
||||
let minor = parts.next().unwrap_or(0);
|
||||
let patch = parts.next().unwrap_or(0);
|
||||
|
||||
Reference in New Issue
Block a user