-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into tf/optimize-boolean-ranges
* master: chore(docs): Rearrange NoirJS section (#3260) chore(docs): Document `nargo fmt` (#3262) feat(debugger): Print limited source code context (#3217) fix: recompile artefacts from a different noir version (#3248) chore: Update ACIR artifacts (#3263) fix: Show println output before an error occurs in `nargo execute` (#3211) chore(docs): document info codelens (#3252) fix: Impl methods are no longer placed in contracts (#3255) feat(stdlib): optimize constraint counts in sha256/sha512 (#3253) chore: enhance code formatting for If expressions (#3246) feat: Cache debug artifacts (#3133)
- Loading branch information
Showing
57 changed files
with
720 additions
and
303 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,14 @@ | ||
const GIT_COMMIT: &&str = &"GIT_COMMIT"; | ||
|
||
fn main() { | ||
// Rebuild if the tests have changed | ||
println!("cargo:rerun-if-changed=tests"); | ||
|
||
// Only use build_data if the environment variable isn't set | ||
// The environment variable is always set when working via Nix | ||
if std::env::var(GIT_COMMIT).is_err() { | ||
build_data::set_GIT_COMMIT(); | ||
build_data::set_GIT_DIRTY(); | ||
build_data::no_debug_rebuilds(); | ||
} | ||
} |
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
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
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
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,14 +1,4 @@ | ||
const GIT_COMMIT: &&str = &"GIT_COMMIT"; | ||
|
||
fn main() { | ||
// Only use build_data if the environment variable isn't set | ||
// The environment variable is always set when working via Nix | ||
if std::env::var(GIT_COMMIT).is_err() { | ||
build_data::set_GIT_COMMIT(); | ||
build_data::set_GIT_DIRTY(); | ||
build_data::no_debug_rebuilds(); | ||
} | ||
|
||
build_data::set_SOURCE_TIMESTAMP(); | ||
build_data::no_debug_rebuilds(); | ||
} |
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
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
Oops, something went wrong.