Browse Source

Back to no-entrypoint feature name

Michael Vines 5 years ago
parent
commit
af82447bce
2 changed files with 2 additions and 2 deletions
  1. 1 1
      program/Cargo.toml
  2. 1 1
      program/src/lib.rs

+ 1 - 1
program/Cargo.toml

@@ -9,7 +9,7 @@ edition = "2018"
 exclude = ["js/**"]
 
 [features]
-exclude_entrypoint = []
+no-entrypoint = []
 
 [dependencies]
 arrayref = "0.3.6"

+ 1 - 1
program/src/lib.rs

@@ -9,7 +9,7 @@ pub mod native_mint;
 pub mod processor;
 pub mod state;
 
-#[cfg(not(feature = "exclude_entrypoint"))]
+#[cfg(not(feature = "no-entrypoint"))]
 mod entrypoint;
 
 // Export current sdk types for downstream users building with a different sdk version