Launcher : détection de --charger telle que le C la compile
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d9882d0ba2
commit
21e8d4697a
1 file changed
+2
-2
@@ -276,9 +276,9 @@ fn run_checks(root: &Path, cfg: &Config) -> Checks {
|
||||
}
|
||||
}
|
||||
|
||||
/// le moteur annonce l'option --charger dans son aide : on la cherche dans l'exécutable
|
||||
/// le moteur lit l'option « --charger » : la chaîne figure alors dans l'exécutable (suivie d'un 0)
|
||||
fn engine_can_load(exe: &Path) -> bool {
|
||||
std::fs::read(exe).is_ok_and(|b| b.windows(10).any(|w| w == b"--charger "))
|
||||
std::fs::read(exe).is_ok_and(|b| b.windows(10).any(|w| w == b"--charger | ||||