I use the famous workaround to generate automatically the did files from Rust code (see for example here in Juno).
After upgrading to last ic-cdk = "0.10.0"
and candid = "0.9.1"
, I get following error when I generate the types. Any cluse what’s the issue?
running 1 test
test tests::save_candid … FAILEDfailures:
---- tests::save_candid stdout ----
thread ‘tests::save_candid’ panicked at ‘Cannot use Func directly. Usedefine_function!
macro instead.’, /Users/daviddalbusco/.cargo/registry/src/github.com-1ecc6299db9ec823/candid-0.9.1/src/types/reference.rs:83:9
note: run withRUST_BACKTRACE=1
environment variable to display a backtracefailures:
tests::save_candidtest result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
error: test failed, to rerun pass
-p satellite --lib