Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
tjjfvi committed May 27, 2024
1 parent 0d5dc5c commit e57af2b
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 46 deletions.
4 changes: 2 additions & 2 deletions ast/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ ordered-float = { version = "4.2.0", default-features = false }
thiserror = { version = "1.0.59", optional = true }
TSPL = { version = "0.0.12", optional = true }

hvm64-util = { path = "../util", default-features = false }
hvm64-util = { path = "../util" }

[features]
default = ["std", "parser"]
std = ["hvm64-util/std", "ordered-float/std", "dep:thiserror"]
std = ["ordered-float/std", "dep:thiserror"]
parser = ["dep:TSPL"]

[lints]
Expand Down
4 changes: 2 additions & 2 deletions host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ edition = "2021"
path = "src/host.rs"

[dependencies]
hvm64-util = { path = "../util" }
hvm64-ast = { path = "../ast", default-features = false }
hvm64-util = { path = "../util", default-features = false }
hvm64-runtime = { path = "../runtime", default-features = false }

[features]
std = ["hvm64-ast/std", "hvm64-util/std", "hvm64-runtime/std"]
std = ["hvm64-ast/std", "hvm64-runtime/std"]

[lints]
workspace = true
1 change: 0 additions & 1 deletion prelude.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ extern crate alloc;

#[allow(unused)]
mod prelude {

pub use alloc::{
borrow::ToOwned,
boxed::Box,
Expand Down
5 changes: 2 additions & 3 deletions runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ edition = "2021"
path = "src/runtime.rs"

[dependencies]
hvm64-util = { path = "../util", default-features = false }
hvm64-util = { path = "../util" }

[features]
default = ["std"]
std = ["hvm64-util/std"]
std = []
trace = ["std"]

[lints]
Expand Down
4 changes: 0 additions & 4 deletions util/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,7 @@ version = "0.3.0"
edition = "2021"

[dependencies]
arrayvec = { version = "0.7.4", default-features = false }
stacker = { version = "0.1.15", default-features = false }

[features]
std = ["arrayvec/std"]

[lints]
workspace = true
29 changes: 0 additions & 29 deletions util/src/array_vec.rs

This file was deleted.

6 changes: 1 addition & 5 deletions util/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
#![allow(incomplete_features)]
#![feature(generic_const_exprs)]
#![no_std]

include!("../../prelude.rs");

pub mod array_vec;
pub mod bi_enum;
pub mod create_var;
pub mod deref;
Expand All @@ -13,7 +10,6 @@ pub mod ops;
pub mod parse_abbrev_number;
pub mod pretty_num;

pub use array_vec::*;
pub use create_var::*;
pub use maybe_grow::*;
pub use parse_abbrev_number::*;
Expand Down

0 comments on commit e57af2b

Please sign in to comment.