-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
88e2ba9
commit 35b0d79
Showing
4 changed files
with
30 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
pub const vm = struct { | ||
pub usingnamespace @import("vm/core.zig"); | ||
pub usingnamespace @import("vm/error.zig"); | ||
pub usingnamespace @import("vm/instructions.zig"); | ||
pub usingnamespace @import("vm/run_context.zig"); | ||
pub usingnamespace @import("vm/memory/memory.zig"); | ||
pub usingnamespace @import("vm/memory/relocatable.zig"); | ||
pub usingnamespace @import("vm/memory/segments.zig"); | ||
}; | ||
|
||
pub const math = struct { | ||
pub usingnamespace @import("math/fields/fields.zig"); | ||
pub usingnamespace @import("math/fields/stark_felt_252_gen_fp.zig"); | ||
pub usingnamespace @import("math/fields/starknet.zig"); | ||
}; | ||
|
||
pub const utils = struct { | ||
pub usingnamespace @import("utils/log.zig"); | ||
pub usingnamespace @import("utils/time.zig"); | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
const std = @import("std"); | ||
const lib = @import("lib.zig"); | ||
|
||
// Automatically run all tests in files declared in the `lib.zig` file. | ||
test { | ||
std.testing.log_level = std.log.Level.err; | ||
std.testing.refAllDecls(lib); | ||
} |