Merge branch 'v0' of ssh://ssh.spbr.net:51122/spacebar/rust-nex into v0
Some checks failed
Build and Test / splatoon (push) Failing after 2m13s
Build and Test / minecraft-wiiu (push) Successful in 2m15s
Build and Test / splatoon-testfire (push) Failing after 2m27s
Build and Test / super-mario-maker (push) Successful in 3m28s
Build and Test / fast-racing-neo (push) Successful in 3m54s
Build and Test / wii-u-chat (push) Successful in 4m2s
Build and Test / friends (push) Successful in 4m51s
Build and Test / puyopuyo (push) Successful in 4m53s
Build and Test / mario-tennis (push) Successful in 5m7s
Build and Test / wii-sports-club (push) Successful in 5m28s
Build and Test / sonic-transformed (push) Successful in 5m47s

This commit is contained in:
Maple Nebel 2026-05-30 19:16:27 +02:00
commit e5c741a8d6
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,5 @@
{
"rust-analyzer.cargo.features": [
"friends"
"v3-8-15", "splatoon", "prudpv1"
]
}

View file

@ -37,7 +37,7 @@ use std::env;
use std::str::FromStr;
use cfg_if::cfg_if;
use log::{error, info};
use log::{error, info, warn};
use macros::rmc_struct;
use rnex_core::prudp::socket_addr::PRUDPSockAddr;
use rnex_core::rmc::protocols::notifications::{NotificationEvent, RemoteNotification};
@ -134,6 +134,8 @@ impl Secure for User {
async fn replace_url(&self, target_url: StationUrl, dest: StationUrl) -> Result<(), ErrorCode> {
let mut lock = self.station_url.write().await;
info!("target URL: {:?}", target_url);
info!("dest URL: {:?}", dest);
let Some(target_addr) = target_url.options.iter().find(|v| matches!(v, Address(_))) else {
return Err(ErrorCode::Core_InvalidArgument);