From 8ece413afc50e6da7d242308ce450834aa1e996d Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Tue, 24 Sep 2019 18:53:32 -0400 Subject: [PATCH] Update for `const_str_as_bytes` being stabalized --- .travis.yml | 2 +- tests/chrdev-region-allocation/src/lib.rs | 1 - tests/chrdev/src/lib.rs | 1 - tests/filesystem/src/lib.rs | 1 - tests/printk/src/lib.rs | 1 - tests/sysctl-get/src/lib.rs | 1 - tests/sysctl/src/lib.rs | 1 - tests/utils/src/lib.rs | 1 - 8 files changed, 1 insertion(+), 8 deletions(-) diff --git a/.travis.yml b/.travis.yml index 352642c6..53bba1e5 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,7 +4,7 @@ matrix: language: rust rust: - - nightly-2019-09-11 + - nightly-2019-09-25 cache: - cargo: true diff --git a/tests/chrdev-region-allocation/src/lib.rs b/tests/chrdev-region-allocation/src/lib.rs index 742de7f0..027ac02d 100644 --- a/tests/chrdev-region-allocation/src/lib.rs +++ b/tests/chrdev-region-allocation/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use linux_kernel_module::{self, cstr}; diff --git a/tests/chrdev/src/lib.rs b/tests/chrdev/src/lib.rs index 4397d067..7c7b7059 100644 --- a/tests/chrdev/src/lib.rs +++ b/tests/chrdev/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use linux_kernel_module::{self, cstr}; diff --git a/tests/filesystem/src/lib.rs b/tests/filesystem/src/lib.rs index 02f7aed8..d9fa7128 100644 --- a/tests/filesystem/src/lib.rs +++ b/tests/filesystem/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] extern crate alloc; diff --git a/tests/printk/src/lib.rs b/tests/printk/src/lib.rs index 1548c926..049aade5 100644 --- a/tests/printk/src/lib.rs +++ b/tests/printk/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use linux_kernel_module::{self, println}; diff --git a/tests/sysctl-get/src/lib.rs b/tests/sysctl-get/src/lib.rs index 3080bc0d..8aed402b 100644 --- a/tests/sysctl-get/src/lib.rs +++ b/tests/sysctl-get/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use core::sync::atomic::{AtomicBool, Ordering}; diff --git a/tests/sysctl/src/lib.rs b/tests/sysctl/src/lib.rs index 598680d2..0b95b8dd 100644 --- a/tests/sysctl/src/lib.rs +++ b/tests/sysctl/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use core::sync::atomic::AtomicBool; diff --git a/tests/utils/src/lib.rs b/tests/utils/src/lib.rs index 79dcde2e..49daaf62 100644 --- a/tests/utils/src/lib.rs +++ b/tests/utils/src/lib.rs @@ -1,5 +1,4 @@ #![no_std] -#![feature(const_str_as_bytes)] use linux_kernel_module;