Skip to content

Commit

Permalink
Merge #115
Browse files Browse the repository at this point in the history
115: switching to smoltcp 0.7 r=stlankes a=stlankes

- using the latest rust toolchain

Co-authored-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
  • Loading branch information
bors[bot] and stlankes authored Feb 15, 2021
2 parents a80de1f + 98162b3 commit c00a728
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion hermit-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ version = "0.*"
default-features = false

[dependencies.smoltcp]
version = "0.6.0"
version = "0.7.0"
optional = true
default-features = false
features = ["std", "ethernet", "socket-udp", "socket-tcp", "proto-ipv4", "proto-ipv6"]
Expand Down
6 changes: 3 additions & 3 deletions hermit-sys/src/net/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ pub enum WaitForResult {

pub struct NetworkInterface<T: for<'a> Device<'a>> {
#[cfg(feature = "trace")]
pub iface: smoltcp::iface::EthernetInterface<'static, 'static, 'static, EthernetTracer<T>>,
pub iface: smoltcp::iface::EthernetInterface<'static, EthernetTracer<T>>,
#[cfg(not(feature = "trace"))]
pub iface: smoltcp::iface::EthernetInterface<'static, 'static, 'static, T>,
pub sockets: SocketSet<'static, 'static, 'static>,
pub iface: smoltcp::iface::EthernetInterface<'static, T>,
pub sockets: SocketSet<'static>,
pub wait_for: BTreeMap<Handle, WaitFor>,
#[cfg(feature = "dhcpv4")]
dhcp: Dhcpv4Client,
Expand Down
2 changes: 1 addition & 1 deletion libhermit-rs
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "nightly-2021-01-22"
channel = "nightly-2021-02-11"
components = [ "rustfmt", "rust-src", "llvm-tools-preview"]
targets = [ "x86_64-unknown-hermit" ]

0 comments on commit c00a728

Please sign in to comment.