Complete first release candidate audit (#107)
Some checks failed
API and SemVer surface / api-surface (push) Failing after 1m34s
Native code generation / deterministic (push) Has been cancelled
Concurrency and resource soak audit / soak (push) Has been cancelled
Documentation / documentation (push) Has been cancelled
performance evidence / audit (push) Has been cancelled
First release candidate / non-fuzz-release-gate (push) Has been cancelled
Release platform and feature matrix / audit (push) Has been cancelled
Release platform and feature matrix / matrix (false, linux-stable-minimal, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, macos-stable-portable, x86_64-apple-darwin, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (false, windows-stable-portable, x86_64-pc-windows-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-msrv-portable, x86_64-unknown-linux-gnu, 1.96.0) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-default, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-features, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Release platform and feature matrix / matrix (true, linux-stable-release-surface, x86_64-unknown-linux-gnu, stable) (push) Has been cancelled
Dependency and supply-chain audit / audit (push) Has been cancelled
Native release artifact audit / audit (push) Has been cancelled
Imaging and meshing gate / native (push) Failing after 53s
JPEG 2000 feature / linux (push) Successful in 2m49s
Native Rust workspace compile / compile (push) Failing after 59s
Skia feature / linux (push) Has been cancelled

This commit is contained in:
2026-08-12 14:44:28 +00:00
parent dceb394378
commit c9a1170a27
140 changed files with 82175 additions and 27179 deletions

View File

@@ -6,6 +6,7 @@
//! after the lock is released.
#![allow(clippy::missing_errors_doc)] // Result shapes are fixed by the compatibility map.
#![allow(clippy::large_enum_variant)] // Commands move through a bounded channel without cloning.
#![allow(clippy::needless_pass_by_value)] // Owned mapped parameters preserve the public API.
#![allow(clippy::too_many_arguments)] // Login overloads preserve the mapped public API.
#![allow(clippy::too_many_lines)] // Packet dispatch keeps the complete protocol switch together.
@@ -51,6 +52,8 @@ impl Clone for Packet {
has_variable_blocks: self.has_variable_blocks,
header: self.header.clone(),
type_: self.type_,
native_body: self.native_body.clone(),
native_payload_length: self.native_payload_length,
}
}
}
@@ -1055,6 +1058,7 @@ pub struct SimulatorData {
pub terrain_start_height11: f32,
pub water_height: f32,
pub wind_speeds: RwLock<Option<Vec<Vector2>>>,
prey_id: RwLock<UUID>,
endpoint: std::net::SocketAddr,
connected: AtomicBool,
movement_complete: AtomicBool,
@@ -1151,6 +1155,14 @@ impl fmt::Debug for Simulator {
}
impl Simulator {
pub(crate) fn native_prey_id(&self) -> UUID {
*read(&self.data.prey_id)
}
pub(crate) fn native_set_prey_id(&self, value: UUID) {
*write(&self.data.prey_id) = value;
}
pub fn native_new(
client: GridClient,
address: std::net::SocketAddr,
@@ -1221,6 +1233,7 @@ impl Simulator {
terrain_start_height11: 0.0,
water_height: 0.0,
wind_speeds: RwLock::new(None),
prey_id: RwLock::new(UUID::zero()),
endpoint: address,
connected: AtomicBool::new(false),
movement_complete: AtomicBool::new(false),