Similar to how we handle #[test] functions we may want these without making them importable by any dependant crates.
#[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
│