Remove console_insn (ported from XCL, GPL-2.0-only); take VIctory's crash handler #1057
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/fxceless--victory-fork!1057
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-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?
@nullexxx on GitHub · 2026-11-25 17:49 UTC · original
nullexxx:pr/remove-console-insn→main· +719 −954 · 7 files · 1 commits · openSummary
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
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.