diff options
author | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2020-05-22 18:01:15 +0200 |
---|---|---|
committer | Mathias Hall-Andersen <mathias@hall-andersen.dk> | 2020-05-22 18:01:15 +0200 |
commit | 16ede0f37da6050d3037cd85eb1055f239cef7b8 (patch) | |
tree | ec6172fdd1c2c3d97bedcbcc93bce5cd34049b9b /src/main.rs | |
parent | Elimited Daemonize dependency (diff) | |
download | wireguard-rs-16ede0f37da6050d3037cd85eb1055f239cef7b8.tar.xz wireguard-rs-16ede0f37da6050d3037cd85eb1055f239cef7b8.zip |
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.
Diffstat (limited to '')
-rw-r--r-- | src/main.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index fb5ac2f..45fe636 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,5 +1,4 @@ -#![feature(test)] -#![feature(weak_into_raw)] +#![cfg_attr(feature = "unstable", feature(test))] extern crate alloc; |