surban / aggligator

Aggregates multiple links (TCP, Bluetooth, USB or similar) into one connection having their combined bandwidth and provides resiliency against failure of individual links.
https://crates.io/crates/aggligator
Other
129 stars 8 forks source link

Doesn't build on Windows #8

Closed philinp closed 4 months ago

philinp commented 4 months ago
...
   Compiling gethostname v0.4.3
   Compiling aggligator-util v0.10.2 (C:\2_\aggligator-util)
error[E0308]: mismatched types
   --> aggligator-util\src\transport\tcp.rs:485:21
    |
485 |                 let Some(addr) = ifn.addr else { continue };
    |                     ^^^^^^^^^^   -------- this expression has type `Vec<Addr>`
    |                     |
    |                     expected `Vec<Addr>`, found `Option<_>`
    |
    = note: expected struct `Vec<Addr>`
                 found enum `Option<_>`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `aggligator-util` (lib) due to 1 previous error

can't build aggligator, but agg-speed.exe and agg-tunnel.exe built successfully.

C:>cargo -V cargo 1.76.0 (c84b36747 2024-01-18)

surban commented 4 months ago

I cannot reproduce this.