Skip to content

Commit f2ad3b3

Browse files
committed
println! debugging :P
1 parent 0134b23 commit f2ad3b3

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -455,8 +455,6 @@ jobs:
455455
package_vm:
456456
docker:
457457
- image: rust:1.74
458-
environment:
459-
CARGO_INCREMENTAL: "0"
460458
steps:
461459
- checkout
462460
- run:

packages/vm-derive-impl/src/hash_function.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ pub fn hash_function_impl(attr: TokenStream, input: TokenStream) -> TokenStream
1212
let _: syn::ItemFn = maybe!(syn::parse2(input.clone()));
1313

1414
let display = input.to_string();
15+
panic!("display: {:?}", display);
1516
let hex_hash = blake3::hash(display.as_bytes()).to_hex();
1617
let hex_hash = hex_hash.as_str();
1718

packages/vm-derive/src/lib.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1+
use std::fmt::Debug;
2+
13
pub struct Hash(pub &'static str);
24

35
inventory::collect!(Hash);
46

57
#[inline]
6-
pub fn collect_hashes() -> impl Iterator<Item = &'static str> {
8+
pub fn collect_hashes() -> impl Iterator<Item = &'static str> + Debug {
79
let mut hashes = inventory::iter::<Hash>
810
.into_iter()
911
.map(|hash| hash.0)

0 commit comments

Comments
 (0)