From 3491814b4f1723e6b1f3ae485ed5d3b5cad16df0 Mon Sep 17 00:00:00 2001 From: Jakub Doka Date: Sun, 22 Dec 2024 21:50:03 +0100 Subject: [PATCH] i am tired Signed-off-by: Jakub Doka --- bytecode/Cargo.toml | 4 ++-- vm/Cargo.toml | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bytecode/Cargo.toml b/bytecode/Cargo.toml index 95c0c1e5..5a91021b 100644 --- a/bytecode/Cargo.toml +++ b/bytecode/Cargo.toml @@ -5,6 +5,6 @@ edition = "2018" [features] default = ["disasm"] -std = [] -disasm = ["std"] +disasm = ["alloc"] +alloc = [] diff --git a/vm/Cargo.toml b/vm/Cargo.toml index bc63d306..776f074c 100644 --- a/vm/Cargo.toml +++ b/vm/Cargo.toml @@ -3,10 +3,12 @@ name = "hbvm" version = "0.1.0" edition = "2021" +[dependencies] +hbbytecode = { workspace = true } + [features] default = ["alloc"] +disasm = ["hbbytecode/disasm", "alloc"] alloc = [] nightly = [] -[dependencies] -hbbytecode = { workspace = true }