Native mod DLLs (experimental): load them and call victory_on_title_mapped #3144
Open
Korothi wants to merge 2 commits from
upstream-pr/3144 into main
pull from: upstream-pr/3144
merge into: ProjectLeonida:main
ProjectLeonida:main
ProjectLeonida:claude/loop-total
ProjectLeonida:claude/pops-collision-seed
ProjectLeonida:claude/dstorage-hold-page-reads
ProjectLeonida:claude/host-image-copy-switch
ProjectLeonida:feat/gdk-lifecycle-window-hook
ProjectLeonida:claude/d16s8-uav-nvidia-fallback
ProjectLeonida:feat/mfplat-offline-shim
ProjectLeonida:claude/gameinput-slow-reader
ProjectLeonida:fix/rt-null-barrier-clear
ProjectLeonida:claude/depth-resolve-sample-positions
ProjectLeonida:integration/palmetto-parity
ProjectLeonida:claude/valu-literal-sext
ProjectLeonida:claude/slot74-pool-handle
ProjectLeonida:claude/rgb9e5-uint-alias-view
ProjectLeonida:claude/fssm-root-layout-tables
ProjectLeonida:feat/gdk-speech-display-lifecycle
ProjectLeonida:asset-audio-skip-current
ProjectLeonida:qemmhd/old-9940-rectangle-quad-lists
ProjectLeonida:feat/ws2-offline-shim
ProjectLeonida:qemmhd/rt-d16-unorm-uav
ProjectLeonida:feat/xs-device-stops-7-9
ProjectLeonida:qemmhd/rt-depth-same-base-shapes
ProjectLeonida:qemmhd/rt-lazy-attachment-variant
ProjectLeonida:feat/acphal-xma2-decoder
ProjectLeonida:asset-audio-skip
ProjectLeonida:codex/coord-claim-check-20261124-7e48
ProjectLeonida:feat/xs-frame-pacing-presentx
ProjectLeonida:feat/xs-device-vm-options
ProjectLeonida:old-pr/9844
ProjectLeonida:old-pr/9978
ProjectLeonida:old-pr/9815
ProjectLeonida:old-pr/10057
ProjectLeonida:old-pr/9874
ProjectLeonida:old-pr/9965
ProjectLeonida:old-pr/9863
ProjectLeonida:old-pr/10068
ProjectLeonida:old-pr/10066
ProjectLeonida:old-pr/10067
ProjectLeonida:old-pr/10007
ProjectLeonida:old-pr/10061
ProjectLeonida:old-pr/10065
ProjectLeonida:old-pr/10059
ProjectLeonida:old-pr/10063
ProjectLeonida:old-pr/10055
ProjectLeonida:old-pr/10062
ProjectLeonida:old-pr/10042
ProjectLeonida:old-pr/10041
ProjectLeonida:old-pr/10049
ProjectLeonida:old-pr/10047
ProjectLeonida:old-pr/10046
ProjectLeonida:old-pr/10045
ProjectLeonida:old-pr/10056
ProjectLeonida:old-pr/10043
ProjectLeonida:old-pr/10036
ProjectLeonida:old-pr/10034
ProjectLeonida:old-pr/9984
ProjectLeonida:old-pr/10052
ProjectLeonida:old-pr/10038
ProjectLeonida:old-pr/10033
ProjectLeonida:old-pr/10028
ProjectLeonida:old-pr/10050
ProjectLeonida:old-pr/9891
ProjectLeonida:old-pr/9889
ProjectLeonida:old-pr/10051
ProjectLeonida:old-pr/10019
ProjectLeonida:old-pr/10027
ProjectLeonida:old-pr/10029
ProjectLeonida:old-pr/10031
ProjectLeonida:old-pr/10026
ProjectLeonida:old-pr/9941
ProjectLeonida:old-pr/10030
ProjectLeonida:old-pr/10040
ProjectLeonida:old-pr/9990
ProjectLeonida:old-pr/10021
ProjectLeonida:old-pr/9962
ProjectLeonida:old-pr/10022
ProjectLeonida:old-pr/10020
ProjectLeonida:old-pr/10015
ProjectLeonida:old-pr/10025
ProjectLeonida:old-pr/9886
ProjectLeonida:old-pr/10048
ProjectLeonida:old-pr/10014
ProjectLeonida:old-pr/10011
ProjectLeonida:old-pr/9861
ProjectLeonida:old-pr/10010
ProjectLeonida:old-pr/10008
ProjectLeonida:old-pr/9860
ProjectLeonida:old-pr/10006
ProjectLeonida:old-pr/9920
ProjectLeonida:old-pr/9995
ProjectLeonida:old-pr/10000
ProjectLeonida:old-pr/10016
ProjectLeonida:old-pr/10004
ProjectLeonida:old-pr/10023
ProjectLeonida:old-pr/9982
ProjectLeonida:old-pr/9981
ProjectLeonida:old-pr/9983
ProjectLeonida:old-pr/9970
ProjectLeonida:old-pr/9969
ProjectLeonida:old-pr/9968
ProjectLeonida:old-pr/9971
ProjectLeonida:old-pr/9972
ProjectLeonida:old-pr/9942
ProjectLeonida:old-pr/9963
ProjectLeonida:old-pr/9960
ProjectLeonida:old-pr/9964
ProjectLeonida:old-pr/9985
ProjectLeonida:old-pr/9973
ProjectLeonida:old-pr/9862
ProjectLeonida:old-pr/9953
ProjectLeonida:old-pr/10017
ProjectLeonida:old-pr/9952
ProjectLeonida:old-pr/9955
ProjectLeonida:old-pr/9946
ProjectLeonida:old-pr/9954
ProjectLeonida:old-pr/9938
ProjectLeonida:old-pr/9956
ProjectLeonida:old-pr/9856
ProjectLeonida:old-pr/9947
ProjectLeonida:old-pr/9924
ProjectLeonida:old-pr/9961
ProjectLeonida:old-pr/9927
ProjectLeonida:old-pr/9979
ProjectLeonida:old-pr/10032
ProjectLeonida:old-pr/9926
ProjectLeonida:old-pr/5237
ProjectLeonida:old-pr/9951
ProjectLeonida:old-pr/9931
ProjectLeonida:old-pr/9902
ProjectLeonida:old-pr/9921
ProjectLeonida:old-pr/9994
ProjectLeonida:old-pr/9775
ProjectLeonida:old-pr/9768
ProjectLeonida:old-pr/9905
ProjectLeonida:old-pr/9936
ProjectLeonida:old-pr/9901
ProjectLeonida:old-pr/9904
ProjectLeonida:old-pr/9906
ProjectLeonida:old-pr/9988
ProjectLeonida:old-pr/9908
ProjectLeonida:old-pr/9909
ProjectLeonida:old-pr/9911
ProjectLeonida:old-pr/9912
ProjectLeonida:old-pr/9913
ProjectLeonida:old-pr/9887
ProjectLeonida:old-pr/9916
ProjectLeonida:old-pr/9919
ProjectLeonida:old-pr/9925
ProjectLeonida:old-pr/9933
ProjectLeonida:old-pr/9935
ProjectLeonida:old-pr/9918
ProjectLeonida:old-pr/9879
ProjectLeonida:old-pr/9880
ProjectLeonida:old-pr/9881
ProjectLeonida:old-pr/9996
ProjectLeonida:old-pr/9876
ProjectLeonida:old-pr/9892
ProjectLeonida:old-pr/9899
ProjectLeonida:old-pr/9915
ProjectLeonida:old-pr/9914
ProjectLeonida:old-pr/9872
ProjectLeonida:old-pr/9869
ProjectLeonida:old-pr/9866
ProjectLeonida:old-pr/9819
ProjectLeonida:old-pr/10012
ProjectLeonida:old-pr/9857
ProjectLeonida:old-pr/9893
ProjectLeonida:old-pr/9897
ProjectLeonida:old-pr/9928
ProjectLeonida:old-pr/9868
ProjectLeonida:old-pr/9917
ProjectLeonida:old-pr/9940
ProjectLeonida:old-pr/9873
ProjectLeonida:old-pr/9816
ProjectLeonida:old-pr/10009
ProjectLeonida:old-pr/9900
ProjectLeonida:old-pr/9966
ProjectLeonida:old-pr/9859
ProjectLeonida:old-pr/9843
ProjectLeonida:old-pr/9991
ProjectLeonida:old-pr/10058
ProjectLeonida:old-pr/9883
ProjectLeonida:old-pr/9838
ProjectLeonida:old-pr/9835
ProjectLeonida:old-pr/9959
ProjectLeonida:old-pr/9895
ProjectLeonida:old-pr/9837
ProjectLeonida:old-pr/9858
ProjectLeonida:old-pr/9865
ProjectLeonida:old-pr/9864
ProjectLeonida:old-pr/9840
ProjectLeonida:old-pr/9820
ProjectLeonida:old-pr/4669
ProjectLeonida:old-pr/9848
ProjectLeonida:old-pr/9850
ProjectLeonida:old-pr/9810
ProjectLeonida:old-pr/9799
ProjectLeonida:old-pr/9853
ProjectLeonida:old-pr/9875
ProjectLeonida:old-pr/9831
ProjectLeonida:old-pr/9796
ProjectLeonida:old-pr/9801
ProjectLeonida:old-pr/9813
ProjectLeonida:old-pr/9794
ProjectLeonida:old-pr/7417
ProjectLeonida:old-pr/9781
ProjectLeonida:old-pr/9806
ProjectLeonida:old-pr/9958
ProjectLeonida:old-pr/9809
ProjectLeonida:old-pr/9791
ProjectLeonida:old-pr/9792
ProjectLeonida:old-pr/10053
ProjectLeonida:old-pr/9784
ProjectLeonida:old-pr/9789
ProjectLeonida:old-pr/9849
ProjectLeonida:old-pr/9846
ProjectLeonida:old-pr/9773
ProjectLeonida:old-pr/9785
ProjectLeonida:old-pr/9803
ProjectLeonida:old-pr/9826
ProjectLeonida:old-pr/9839
ProjectLeonida:old-pr/9922
ProjectLeonida:old-pr/9948
ProjectLeonida:old-pr/7189
ProjectLeonida:old-pr/9957
ProjectLeonida:old-pr/9823
ProjectLeonida:old-pr/9807
ProjectLeonida:old-pr/9851
ProjectLeonida:old-pr/9774
ProjectLeonida:old-pr/9830
ProjectLeonida:old-pr/9836
ProjectLeonida:old-pr/9822
ProjectLeonida:old-pr/9783
ProjectLeonida:old-pr/9833
ProjectLeonida:old-pr/9890
ProjectLeonida:old-pr/9770
ProjectLeonida:old-pr/9769
ProjectLeonida:old-pr/9772
ProjectLeonida:old-pr/9787
ProjectLeonida:old-pr/9852
ProjectLeonida:old-pr/9834
ProjectLeonida:old-pr/9845
ProjectLeonida:old-pr/9871
ProjectLeonida:old-pr/9771
ProjectLeonida:old-pr/9776
ProjectLeonida:old-pr/10005
ProjectLeonida:old-pr/9949
ProjectLeonida:old-pr/9923
ProjectLeonida:old-pr/9805
ProjectLeonida:old-pr/9829
ProjectLeonida:old-pr/9790
ProjectLeonida:old-pr/9827
ProjectLeonida:old-pr/9929
ProjectLeonida:old-pr/9855
ProjectLeonida:old-pr/9934
ProjectLeonida:old-pr/9907
ProjectLeonida:old-pr/9910
ProjectLeonida:old-pr/9779
ProjectLeonida:old-pr/9780
ProjectLeonida:old-pr/9885
ProjectLeonida:old-pr/9882
ProjectLeonida:old-pr/9877
ProjectLeonida:old-pr/9998
ProjectLeonida:old-pr/4251
ProjectLeonida:old-pr/9987
ProjectLeonida:old-pr/9989
ProjectLeonida:old-pr/9950
ProjectLeonida:old-pr/9777
ProjectLeonida:old-pr/10044
ProjectLeonida:old-pr/9884
ProjectLeonida:old-pr/2906
ProjectLeonida:old-pr/5076
ProjectLeonida:old-pr/9937
ProjectLeonida:old-pr/9986
ProjectLeonida:old-pr/3014
ProjectLeonida:old-pr/9943
ProjectLeonida:old-pr/9939
ProjectLeonida:old-pr/4682
ProjectLeonida:old-pr/4765
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Assignees
Clear assignees
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
ProjectLeonida/mandy!3144
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3144"
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 ubiquitarianism/leonida. Originally posted by Korothi on 2026-12-02T13:54:20Z.
What and why
Adds experimental support for native mod DLLs, which the runtime had no way to load (Lua mods are the only mods today).
Before the title starts, every
.dllin%LOCALAPPDATA%\leonida\native-mods\(or the folderLEONIDA_NATIVE_MODSnames) is loaded, in name order. Each one that exportsvictory_on_title_mapped(const TitleInfo *)is called once, after the title is mapped and before any title code runs, with the image base, size and the absolute exe path.DllMainhas run) and is not called.Start-up output starts with
Mods: noneor the list of loaded DLLs (a DLL without the export counts as loaded).A mod's own dependencies are found by
LoadLibraryW's standard search order (the runtime's folder, the system folders, the current folder,PATH), not in the mod's folder;docs/native-mods.mdsays so.The contract (when it is called, return value, how the struct may grow under a new
version) is in the newdocs/native-mods.md, which marks the callback as experimental and says a fault seen with a native mod has to be reproduced without it before it is reported. The change is ind3d12/apps/leonida/src/run.rs: the folder choice, the file filter and the loader, and one call. The folder choice and the file filter are small pure functions with unit tests; the title's own folder is never a default.d3d12/docs/switches.mdis regenerated forLEONIDA_NATIVE_MODS. Lua mods and the trainer menu are untouched.It lets a script-hook style DLL start (I used ScriptHook VI's
shvi_core.dll).Open question for maintainers: whether the runtime should support native DLL mods at all. The code only notifies DLLs it loaded itself.
Tested
On Windows, built with
build-nvidia.ps1, with ScriptHook VI's core DLL in the native-mods folder and its plugin files next to the title's exe: theMods:line names the DLL, the callback returns 0 and the mod's menu opens in game. With the folder empty or absent the output saysMods: noneand nothing else changes. Repeated after the review follow-up with the same result. Not tested: other mods, other builds, Linux/Proton.cargo test -p leonidapasses, including the new unit tests for the folder choice and the file filter.python -I tests/test_d3d12_switches.pypasses (20/20) andscripts/check_no_game_data.pypasses.GPUs tested: NVIDIA GeForce RTX 5090, driver 621.40, Windows 11
AI-assisted: yes
The first version was written with Claude Sonnet 5.5, which is below the model list CONTRIBUTING.md gives for new code. It was reviewed by a separate read-only agent that also ran on Claude Sonnet 5.5; its findings were fixed. The follow-up that answers the maintainer's review (helpers and tests, wording, dependency note, regenerated switches page) was also written with Claude Sonnet 5.5.
The whole change was then re-reviewed in a separate read-only session on Astra: no blocking findings and no memory-safety defect found. Optional nits (empty and relative override semantics, case-sensitive sort order, wording of the dependency search order) were not applied.
Checklist
mainand merges cleanly.scripts/check_no_game_data.pypasses).Imported from ubiquitarianism/leonida. Originally posted by Kal0s-design on 2026-12-02T15:16:44Z.
Ran natively on Windows 11, head
776a6c0d3merged into currentmain(43fc605ed, merges cleanly), toolchain 1.98.1 fromrust-toolchain.toml,--locked.cargo test -p leonida --lockednative_mod_testsincluded)cargo clippy -p leonida --tests --lockedleonida; the oneunused_mutinleonida-gpu/src/host.rsis already on mainpython -I tests/test_d3d12_switches.py/tools/d3d12_switches.py --check/scripts/check_no_game_data.pyNo title was run. To exercise
load_native_modsitself I added a throwaway#[ignore]test (not pushed) that calls it with a dummy base/size and a fake exe path, one process per case, withLOCALAPPDATAandLEONIDA_NATIVE_MODSpointed at scratch folders. The mod DLLs are tinycdylibs built for this. So "the exe's folder" below is the test binary's folder, not the runtime's.Mods: nonereturned 0. Nothing else enables it: the folder existing is the switchLEONIDA_NATIVE_MODS=(empty)Mods: none(does not fall back to the default folder)DllMainran, listed inMods:, "not called" line, as documented.dllvoidreturned 1(whatever is left inrax), i.e. reported as declinedexe_pathcorrectstruct_size/versionseen by the modThings that look worth a change:
A relative
LEONIDA_NATIVE_MODScan load a different file than the one listed.read_dirresolves the relative folder against the current folder, butLoadLibraryWgets the relative path (relmods\x.dll) and, for a relative path, uses the standard search, which starts in the executable's folder. Withrelmods\x.dllin both places (two different DLLs), the one listed came from the current folder but the one loaded and run was the one beside the exe. With the copy beside the exe removed, the current-folder one loaded.LEONIDA_NATIVE_MODS=.loads every DLL in the current folder, andLEONIDA_NATIVE_MODS=0(the usual "off" value inswitches.md) names a folder0in the current folder instead of turning it off. Making the folder absolute (std::path::absolute) before listing would make the listed and the loaded file the same.A mod's dependencies come from the current folder and
PATH. A mod importingmoddep.dll:moddep.dllplacedmoddep.dllis then loaded as a mod of its own (listed inMods:, "no export")PATHPATHcopyPATHPATHcopy is used, and the mods-folder copy is loaded a second time as a "mod"This matches what
docs/native-mods.mdsays, so it is a design choice rather than a bug, but the repo already loads a third-party DLL differently:leonida-gpu/src/fsr.rsusesLoadLibraryExW(path, NULL, LOAD_LIBRARY_SEARCH_DLL_LOAD_DIR | LOAD_LIBRARY_SEARCH_SYSTEM32), which takes dependencies from the DLL's own folder and System32 and never from the current folder orPATH. The same flags here would remove the current-folder/PATHlookup and make "put the dependency next to the mod" work. Dependencies would still be listed as mods unless they go in a sub-folder.A mod that faults leaves no
Mods:line. TheMods:line and the per-mod lines are collected and printed only after the loop. Witha_good.dll,b_crash.dll(writes to address 8 in the callback) andc_good.dll, the process ends with0xc0000005. With the runtime'sreport_crashes()installed first, asrun()does, the report namesb_crash.dll+0x14b4, but nothing in the output says thata_good.dllwas loaded and called, andc_good.dllis never loaded. A fault in a mod'sDllMainwould look the same. Printing each line as it happens (or theMods:line before the callbacks) would keep "this run was modded" in the log the docs ask reporters to include.Calling convention: x64 only, where
extern "C"andextern "system"are the same, so a__stdcallexport behaves the same. Not a separate test. DLLs are never unloaded (FreeLibraryis not called), as the docs say.Not checked: a real title run, any real mod, the non-diagnostics/diagnostics feature split, Linux/Proton builds, a mod that starts threads or hooks before returning.
GPUs tested: n/a (CPU-only tests).
AI-assisted: yes (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-02T16:04:49Z.
Verified on the surface this pull request has, which is code plus documentation and no end-to-end test: it builds, its own test passes, and the repository's documentation checks pass on it.
And the three things I would look at in review, all of which are right:
native_mods_dirprefersLEONIDA_NATIVE_MODSand falls back to%LOCALAPPDATA%\leonida\native-mods, and the title's own folder is never a default - the comment says why ("its DLLs are the title's, not mods"), and that is the decision that keeps a mod folder from becoming an arbitrary DLL load;docs/README.mdlinksnative-mods.mdandswitches.mdnamesLEONIDA_NATIVE_MODS, so the switch is documented where the repository's own check looks for it;load_native_modsis called before any title code runs, with the mapped base andSizeOfImage, which is the only moment a mod can hook something.What I could not test, and it is the whole of the experimental feature: loading a DLL and calling
victory_on_title_map- that needs a real mod DLL and a title mapped, and this machine cannot run the title. The code pathload_native_modsitself is not exercised by the test above, only the folder decision is.AI-assisted: yes - DeepSeek v4.1 (flash).
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T18:02:03Z.
Code review only, not built (Windows-only
leonidabinary). The code is sound, but whether to ship it is a maintainer decision.776a6c0d3, merge base72d143c45, 46 behind currentmain45dc41f95. A trial merge is clean.action_required).Review of
d3d12/apps/leonida/src/run.rs:native_mods_dir,is_native_mod_dll,native_mod_paths) are tested, including that the title's folder is never a default and that sub-folders are ignored.load_native_modsruns after imports are bound and beforespawn_main, as documented.exe_wis leaked deliberately so the pointer outlives the call, andTitleInfocarriesstruct_sizeandversionfor growth.extern "C", which is the same assystemon x64.Points for the maintainer decision:
.dllin%LOCALAPPDATA%\leonida\native-modsis loaded with no opt-in. Any process running as the user can drop a DLL there and have it injected into every run. An opt-in, such as requiringLEONIDA_NATIVE_MODSor a launcher toggle, would close that. Folder trust is the reason I would gate it.DllMainor callback takes the runtime down before theMods:line prints, because the line is printed after the loop. Printing each mod's name before calling it would make crash reports attributable.Verdict: ready on code. Whether native DLL mods are supported, and whether loading is opt-in, is for a maintainer to decide.
AI-assisted verification: Claude Opus (Claude Code), separate agent per batch.
Generated by Claude Code
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-02T22:00:55Z.
This pull request touches the render path, so it needs an in-game run before it can be merged: unit tests and CI do not catch rendering regressions (a device loss after an earlier merge is why this gate exists).
Could you, or anyone with a working setup, post a run report on the current head merged onto current
main:mainSHA it was merged onto;mainalone for comparison, if you can.Please do not attach logs or screenshots that show game content. If a run on this exact head is already posted, a link to it in a reply is enough.
AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T00:25:15Z.
VERIFY-3144 — Windows nativo:
red then greenen las pruebas de los mods nativos776a6c0d3—apps/leonida/src/run.rs(+177),docs/switches.md(5)Ran at the head (the binary's own tests:
-p leonida, not--lib, which finds nothing for a binary crate)Negative control (synthetic): I made
native_mods_dirignore the environment (from_env.filter(|_| false)), rebuilt and ran:It bites.
What the change is, and the review points it answers are the right ones:
native_mods_dir(from_env, local_app_data)takes its two inputs as arguments — so the default folder, the override and "neither" are all testable without setting a variable;the_titles_folder_is_never_the_default— the one that matters: a mod folder inside the title's own directory would be deleted or overwritten by a game update, and the test pins that it is not chosen;is_native_mod_dll—.dllin any case, because a mod authored on a case-insensitive filesystem says.DLL.And a detail worth crediting: the tests are
#[cfg(any(windows, test))], so the helpers exist on non-Windows too for the tests' sake — the same seam#3164was missing tonight.What I could not test
Written with an AI assistant.
Imported from ubiquitarianism/leonida. Originally posted by MoonEyes on 2026-12-03T07:01:26Z.
This pull request has a merge conflict with current
main(d9b618f10), so it can't be run in game or merged as it is. Could you merge the latestmaininto it (or rebase onto it) and resolve the conflict? Once the head is updated, the in-game gate run can be done on the new head.AI-assisted (Claude Code).
Imported from ubiquitarianism/leonida. Originally posted by fiestorra on 2026-12-03T09:29:46Z.
Tres más, estas de dos commits cada una, rebasadas contra
d9b618f10y empujadasEl resolvedor funcionó igual, porque el conflicto de cada commit es la misma línea del recuento (el
whileresuelve y sigue hasta que el rebase termina, en vez de asumir un solo bloque):Las tres: 0 marcadores,
pytest tests/test_d3d12_switches.py20 passed, ycargo test -p leonida-gpu --libcon el fallo de la iGPU de siempre.Y el desglose de tests, que es lo que separa estas tres de
#3009y#3126:leonida-gpu#3144#3171#3248O sea que de las cinco rebasadas hoy, tres no añaden tests (
#3009,#3126,#3144) y dos sí (#3171,#3248) — y todas tocan código de runtime. Quien fusione tiene ahora el dato delante en vez de descubrirlo después.Ramas
pr-3144-rebased,pr-3171-rebasedypr-3248-rebaseden el fork.Lo que esto ya permite decir: de los 22 conflictos, seis están resueltos y empujados (
#3009,#3126,#3140,#3144,#3171,#3248) más los cuatro de antes (#3233,#3253,#3269,#3289) más#3225y#3308— doce en total, y todos con el mismo patrón: una línea del recuento que se recalcula contando el fichero.Lo que no he resuelto: los que chocan en un
.rs(#2567,#2856,#3115,#3197) y los de varios commits con código (#2580,#3124,#3130,#3209,#3214) — esos no son una línea y no los toco sin leer el cambio.Imported from ubiquitarianism/leonida. Originally posted by Korothi on 2026-12-03T11:34:54Z.
Rebased onto current main (
b053a1813); head is nowc40c78673. Only the generated switches.md conflicted, regenerated. cargo test -p leonida and the switches tests pass.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.