Browse Source

Remove the unused 'const-fn' feature

Vadim Kaushan 6 năm trước cách đây
mục cha
commit
f9147fd94b
2 tập tin đã thay đổi với 1 bổ sung2 xóa
  1. 0 1
      riscv-rt/Cargo.toml
  2. 1 1
      riscv-rt/ci/script.sh

+ 0 - 1
riscv-rt/Cargo.toml

@@ -13,5 +13,4 @@ r0 = "0.2.2"
 riscv = "0.4.0"
 
 [features]
-const-fn = ["riscv/const-fn"]
 inline-asm = ["riscv/inline-asm"]

+ 1 - 1
riscv-rt/ci/script.sh

@@ -4,7 +4,7 @@ main() {
     cargo check --target $TARGET
 
     if [ $TRAVIS_RUST_VERSION = nightly ]; then
-        cargo check --target $TARGET --features 'const-fn inline-asm'
+        cargo check --target $TARGET --features 'inline-asm'
     fi
 
     if [ $TARGET = x86_64-unknown-linux-gnu ]; then