Skip to content

Commit

Permalink
Merge pull request #1583 from AleoHQ/fix-stdlib-issue-tgc
Browse files Browse the repository at this point in the history
[Fix] Allows stdlib in tgc
  • Loading branch information
collinc97 authored Jan 31, 2022
2 parents 12da812 + 686d49a commit 651fe42
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

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

4 changes: 4 additions & 0 deletions test-framework/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ version = "1.5.2"
path = "../span"
version = "1.5.3"

[dependencies.leo-stdlib]
path = "../stdlib"
version = "1.5.3"

[dependencies.structopt]
version = "0.3"

Expand Down
3 changes: 3 additions & 0 deletions test-framework/src/bin/tgc.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ fn main() {
}

fn run_with_args(opt: Opt) -> Result<(), Box<dyn Error>> {
// Load static stdlib files.
leo_stdlib::static_include_stdlib();

// Variable that stores all the tests.
let mut tests = Vec::new();
let mut test_dir = PathBuf::from(env!("CARGO_MANIFEST_DIR"));
Expand Down

0 comments on commit 651fe42

Please sign in to comment.