Skip to content

Commit

Permalink
Revert "Fix required features for CLI (#1888)" (#1891)
Browse files Browse the repository at this point in the history
This reverts commit cd47e8c.
  • Loading branch information
raviqqe authored Dec 25, 2024
1 parent 0dfa60a commit 063fcc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
5 changes: 0 additions & 5 deletions root/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,8 @@ license-file.workspace = true
readme.workspace = true
repository.workspace = true

[[bin]]
name = "stak"
required-features = ["cli"]

[features]
default = ["float", "libc", "std"]
cli = []
float = ["stak-vm/float"]
hot-reload = ["stak-macro/hot-reload"]
libc = [
Expand Down
9 changes: 2 additions & 7 deletions root/build.rs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
//! A build script.
#[cfg(any(feature = "cli", test))]
use stak_build::build_r7rs;
use stak_build::BuildError;
use stak_build::{build_r7rs, BuildError};

fn main() -> Result<(), BuildError> {
#[cfg(any(feature = "cli", test))]
build_r7rs()?;

Ok(())
build_r7rs()
}

0 comments on commit 063fcc7

Please sign in to comment.