We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#[export]
Similar to how we handle #[test] functions we may want these without making them importable by any dependant crates.
#[test]
#[export] fn bench_test(mut x: Field) -> Field { for _ in 0..100 { x *= x; } x }
This currently warns with
$ nargo export warning: unused function bench_test ┌─ src/lib.nr:8:4 │ 8 │ fn bench_test(mut x: Field) -> Field { │ ---------- unused function │
The text was updated successfully, but these errors were encountered:
aakoshh
No branches or pull requests
Similar to how we handle
#[test]
functions we may want these without making them importable by any dependant crates.This currently warns with
The text was updated successfully, but these errors were encountered: