0xMiden / 0xMiden/rust-sdk

`one or more warnings were emitted` warning message

Open
#1,122 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
78
Forks
129
Avg merge
4d 14h
Merged PRs (30d)
52

Description

When building with the Rust client, the `one or more warnings were emitted` warning consistently appears when compiling MASM. This warning message is from the Miden-VM repository here: https://github.com/0xMiden/miden-vm/blob/53b16751a45d4e05aee627efac0ddaa203dfa33c/assembly-syntax/src/sema/errors.rs#L33

The error appears to be printed using the standard `Display`, which only shows the top-level message and omits the detailed source errors. It seems that the `miette` diagnostics from the VM repo are not being emitted by the Rust client which means users can't see the detailed warning messages.

CC-ing @plafer

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.