Implement credential-safe programs smoke gate (#97)
Some checks failed
Native code generation / deterministic (push) Failing after 2m12s
Imaging and meshing gate / native (push) Failing after 5m40s
JPEG 2000 feature / linux (push) Successful in 2m50s
Native Rust workspace compile / compile (push) Failing after 56s
Skia feature / linux (push) Successful in 31m24s
Some checks failed
Native code generation / deterministic (push) Failing after 2m12s
Imaging and meshing gate / native (push) Failing after 5m40s
JPEG 2000 feature / linux (push) Successful in 2m50s
Native Rust workspace compile / compile (push) Failing after 56s
Skia feature / linux (push) Successful in 31m24s
This commit is contained in:
@@ -1852,7 +1852,10 @@ impl Simulator {
|
||||
packet.agent_data.agent_id = *read(&self.agent_id);
|
||||
packet.agent_data.session_id = *read(&self.session_id);
|
||||
packet.agent_data.circuit_code = self.circuit_code.load(Ordering::Acquire);
|
||||
let data = packet.to_bytes_with_method()?;
|
||||
let mut data = packet.to_bytes_with_method()?;
|
||||
// Match the reference packet constructor: this transition is reliable.
|
||||
let flags = data.first_mut().ok_or(Error::Argument)?;
|
||||
*flags |= Helpers::MSG_RELIABLE;
|
||||
self.native_send_packet_data(
|
||||
data.clone(),
|
||||
i32::try_from(data.len()).map_err(|_| Error::Argument)?,
|
||||
|
||||
Reference in New Issue
Block a user