Remove console_insn (ported from XCL, GPL-2.0-only); take VIctory's crash handler #1055
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/1057"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from fxceless/victory-fork. Originally posted by nullexxx on 2026-11-25T17:49:40Z.
Summary
console_insn.rs and console_insn_decode.rs say they were ported from XCL (insn.rs, unchanged, and eh.rs). XCL is GPL-2.0-only, and code under GPL-2.0-only cannot be combined with this GPL-3.0-or-later program. (The README's credits say XCL was used as a reference and that fixes were written anew; these two files are the exception.)
This removes both files and the hook into the crash handler. crash.rs was VIctory ffe310e's plus that hook. It is now VIctory main's, whose own emulation of the console's AMD-only instructions covers what the module did:
On AMD processors none of this runs: they have the instructions.
Testing
cargo clippy -p victory-loader --all-targets --all-features --target x86_64-pc-windows-msvc -- -D warnings: clean. The rest of the workspace has the pre-existing lint failures that pull request 1 fixes.
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.