compio-rs / compio

A thread-per-core Rust runtime with IOCP/io_uring/polling.
MIT License
420 stars 37 forks source link

[Error] Function Not Found #48

Closed neetdai closed 1 year ago

neetdai commented 1 year ago
error[E0599]: no method named `protocol` found for struct `socket2::Socket` in the current scope
   --> src\net\socket.rs:118:25
    |
118 |             self.socket.protocol()?,
    |                         ^^^^^^^^ method not found in `Socket`

For more information about this error, try `rustc --explain E0599`.
neetdai commented 1 year ago

https://github.com/Berrysoft/compio/pull/49

Berrysoft commented 1 year ago

Run cargo update yourself, please.

Berrysoft commented 1 year ago

Related: https://github.com/rust-lang/socket2/pull/470