Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr_main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ jobs:

- name: Run tests
run: |
make test-no-compile
cd vm && make test-no-compile
22 changes: 13 additions & 9 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 5 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
[package]
name = "null-vm"
version = "0.1.0"
edition = "2024"

[dependencies]
elf = "0.7.4"
hashbrown = { version = "0.14.5", features = ["serde", "inline-more"] }
thiserror = "1.0.68"
[workspace]
members = [
"vm",
"prover",
]
6 changes: 6 additions & 0 deletions prover/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[package]
name = "prover"
version = "0.1.0"
edition = "2024"

[dependencies]
3 changes: 3 additions & 0 deletions prover/src/main.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fn main() {
println!("Hello, world!");
}
1 change: 1 addition & 0 deletions vm/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/target
169 changes: 169 additions & 0 deletions vm/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions vm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[package]
name = "vm"
version = "0.1.0"
edition = "2024"

[dependencies]
elf = "0.7.4"
hashbrown = { version = "0.14.5", features = ["serde", "inline-more"] }
thiserror = "1.0.68"
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[workspace]

[package]
name = "basic_rust"
version = "0.1.0"
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion src/main.rs → vm/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use null_vm::{elf::Elf, vm::execution::run_program};
use vm::{elf::Elf, vm::execution::run_program};

fn main() {
println!("Reading elf");
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion tests/asm.rs → vm/tests/asm.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use null_vm::{elf::Elf, vm::execution::run_program};
use vm::{elf::Elf, vm::execution::run_program};

#[test]
fn test_basic_program() {
Expand Down
2 changes: 1 addition & 1 deletion tests/rust.rs → vm/tests/rust.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use null_vm::{elf::Elf, vm::execution::run_program};
use vm::{elf::Elf, vm::execution::run_program};

#[test]
fn test_basic_rust() {
Expand Down