Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

forced route in multi net dev #179

Merged
merged 2 commits into from
Feb 26, 2025
Merged

Conversation

lhw2002426
Copy link
Contributor

No description provided.

@lhw2002426 lhw2002426 force-pushed the loopback-multipoll branch 2 times, most recently from 3b86bbc to 687bc56 Compare February 21, 2025 14:43
@ken4647
Copy link
Contributor

ken4647 commented Feb 23, 2025

warning: unused import: `self`
  --> modules/ruxnet/src/smoltcp_impl/tcp.rs:19:22
   |
19 | use smoltcp::iface::{self, SocketHandle};
   |                      ^^^^
   |
   = note: `#[warn(unused_imports)]` on by default

warning: unused import: `self`
  --> modules/ruxnet/src/smoltcp_impl/mod.rs:27:22
   |
27 | use smoltcp::iface::{self, Config, Interface, SocketHandle, SocketSet};
   |                      ^^^^

warning: unnecessary `unsafe` block
   --> modules/ruxnet/src/smoltcp_impl/tcp.rs:160:47
    |
160 |                 .find(|iface| iface.name() == unsafe { self.iface_name.lock().clone().unwrap() })
    |                                               ^^^^^^ unnecessary `unsafe` block
    |
    = note: `#[warn(unused_unsafe)]` on by default

warning: unnecessary `unsafe` block
   --> modules/ruxnet/src/smoltcp_impl/tcp.rs:191:9
    |
191 |         unsafe {
    |         ^^^^^^ unnecessary `unsafe` block

warning: unnecessary `unsafe` block
   --> modules/ruxnet/src/smoltcp_impl/tcp.rs:372:9
    |
372 |         unsafe {
    |         ^^^^^^ unnecessary `unsafe` block

please solve these warnings during compling.

@ken4647 ken4647 merged commit 787bbad into syswonder:dev Feb 26, 2025
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants