Skip to content

Commit

Permalink
Merge pull request #315 from ajpal/ajpal-import-feature
Browse files Browse the repository at this point in the history
Add full bril-rs feature set to rs2bril
  • Loading branch information
sampsyo authored Apr 5, 2024
2 parents b20cc2d + af21f1c commit 57877b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bril-rs/rs2bril/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,7 @@ clap = { version = "4.4", features = ["derive"] }
[dependencies.bril-rs]
version = "0.1.0"
path = ".."
features = [ "memory", "float", "position"]
features = [ "memory", "float", "position" ]

[features]
import = [ "bril-rs/import" ]
2 changes: 2 additions & 0 deletions bril-rs/rs2bril/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1172,5 +1172,7 @@ pub fn from_file_to_program(
from_empty_function_to_function(f, &mut state)
})
.collect(),
#[cfg(feature = "import")]
imports: vec![],
}
}

0 comments on commit 57877b1

Please sign in to comment.