diff --git a/build.rs b/build.rs
index 606df06c6099fc268df635a21679217cdbae1740..82e4d30e817122b4ebfcc5c834a2950a622a557a 100644
--- a/build.rs
+++ b/build.rs
@@ -129,16 +129,20 @@ fn main() {
     );
 
     let mut features = vec!["cpu"];
-
-    if cfg!(feature = "wasm-extension") {
+    if cfg!(feature = "wasm") {
         features.push("wasm")
     }
-
-    if cfg!(feature = "python-extension") {
-        features.push("python")
+    if cfg!(feature = "debug") {
+        features.push("debug")
+    }
+    if cfg!(feature = "pedantic") {
+        features.push("pedantic")
+    }
+    if cfg!(feature = "cpulog") {
+        features.push("cpulog")
     }
 
-    write_vec_constant(&mut file, "FEATURES", features);
+    write_vec_constant(&mut file, "FEATURES_SEQ", features);
 
     write_str_constant(
         &mut file,
diff --git a/src/gen/mock.rs b/src/gen/mock.rs
index 4c9a6c39938e259c1e76f990a0364cbf37c6617d..e27fd34fe7f23c629f12b245dd389a4456255765 100644
--- a/src/gen/mock.rs
+++ b/src/gen/mock.rs
@@ -11,7 +11,7 @@ pub const TARGET: &str = "-";
 pub const PROFILE: &str = "-";
 pub const OPT_LEVEL: &str = "-";
 pub const MAKEFLAGS: &str = "-";
-pub const FEATURES: [&str; 1] = ["cpu"];
+pub const FEATURES_SEQ: [&str; 1] = ["cpu"];
 pub const PLATFORM_CPU_BITS: &str = "64";
 pub const PLATFORM_CPU_BITS_INT: usize = 64;