Vibe/freed trace 9e73da #378

Merged
AnastasisKon merged 2 commits from upstream-pr/378 into main 2026-11-27 15:59:14 +00:00
AnastasisKon commented 2026-11-27 14:51:04 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by AnastasisKon on 2026-11-27T14:51:04Z.


What this changes

How it was tested

  • cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings
  • Ran the game (say how far it got), or not needed

Checklist

  • No game files, game code, disassembly listings or SDK files are included
  • Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md
  • New diagnostics are behind a VICTORY_* variable and documented
<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:issue:5528608553 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/378). Originally posted by [AnastasisKon](https://github.com/AnastasisKon) on 2026-11-27T14:51:04Z. --- ## What this changes <!-- One change per pull request. Name the issue you claimed for it: Refs #123 (or Closes #123). --> ## How it was tested - [ ] `cargo test --target x86_64-apple-darwin -p victory-hle -p victory-loader -p victory` - [ ] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings` - [ ] Ran the game (say how far it got), or not needed ## Checklist - [ ] No game files, game code, disassembly listings or SDK files are included - [ ] Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md - [ ] New diagnostics are behind a `VICTORY_*` variable and documented
LakshanSivakumar commented 2026-11-27 16:01:15 +00:00 (Migrated from github.com)

Imported from LakshanSivakumar/Native-Victory-macOS. Originally posted by LakshanSivakumar on 2026-11-27T16:01:15Z.


Merged in 002c3291, together with #377 which it contains. I changed the tests on top so they call the trace's own alloc, free and overlap functions instead of copies of them. The trace stays off unless VICTORY_TRACE_FREED is set. Ran the tests, Windows clippy and the policy check; did not run the game with the trace on. Thanks.

<!-- greyfinch-sync:LakshanSivakumar/Native-Victory-macOS:comment:7222759349 --> Imported from [LakshanSivakumar/Native-Victory-macOS](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/378#issuecomment-7222759349). Originally posted by [LakshanSivakumar](https://github.com/LakshanSivakumar) on 2026-11-27T16:01:15Z. --- Merged in 002c3291, together with #377 which it contains. I changed the tests on top so they call the trace's own alloc, free and overlap functions instead of copies of them. The trace stays off unless VICTORY_TRACE_FREED is set. Ran the tests, Windows clippy and the policy check; did not run the game with the trace on. Thanks.
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
LakshanSivakumar/Native-Victory-macOS!378
No description provided.