From 16ede0f37da6050d3037cd85eb1055f239cef7b8 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Fri, 22 May 2020 18:01:15 +0200 Subject: Enable wireguard-rs to build on stable. WireGuard Rust targets the latest nightly compiler, primarily for security and speed reasons. The recommended way to build WireGuard Rust is still with latest nightly. --- src/wireguard/router/tests/tests.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/wireguard/router/tests/tests.rs') diff --git a/src/wireguard/router/tests/tests.rs b/src/wireguard/router/tests/tests.rs index 6819644..f6205d5 100644 --- a/src/wireguard/router/tests/tests.rs +++ b/src/wireguard/router/tests/tests.rs @@ -11,6 +11,7 @@ use rand::Rng; use super::*; +#[cfg(feature = "unstable")] extern crate test; const SIZE_MSG: usize = 1024; -- cgit v1.2.3-59-g8ed1b