refactor(plugins): physically remove legacy v1 ABI/init across all first-party plugins; exclude/remove legacy test-multibox crate

This commit is contained in:
Selfhosting Dev
2025-09-17 22:58:21 +09:00
parent b8e454963a
commit 1b12b1eb7d
19 changed files with 16 additions and 516 deletions

View File

@ -162,24 +162,7 @@ struct SockConnState {
struct SockClientState;
#[no_mangle]
pub extern "C" fn nyash_plugin_abi() -> u32 {
1
}
#[no_mangle]
pub extern "C" fn nyash_plugin_init() -> i32 {
// Force initialize logging
let _ = *LOG_ON;
let _ = &*LOG_PATH;
netlog!(
"Net plugin initialized, LOG_ON={}, LOG_PATH={}",
*LOG_ON,
*LOG_PATH
);
eprintln!("Net plugin: LOG_ON={}, LOG_PATH={}", *LOG_ON, *LOG_PATH);
OK
}
// legacy v1 abi/init removed
/* legacy v1 entry removed
#[no_mangle]