-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
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
cargo-risczero new: add --guest-name option #1032
Conversation
If this is not set, `cargo risczero new` command will prompt the user to enter a guest name. The guest name parameter is used as the name of the guest package as well as method ID and ELF constants in the guest code. Therefore, this parameter is required to be a valid rust identifier. If no value is supplied by the command line parameter or the prompt, the default value for this parameter will be "method".
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Do users need to rename |
Do we need to add |
Co-authored-by: Frank Laub <flaub@risc0.com>
So there's a guest crate within the methods crate and this renames the guest so there's no need to change the methods |
no, the |
I'm working on a PR to remove the need for |
The guest name parameter is used as the name of the guest package
as well as method ID and ELF constants in the guest code. Therefore, this
parameter is required to be a valid rust identifier. If this is not set, the
cargo risczero new
command will prompt the user to enter a guest name.If no value is supplied by the command line parameter or the prompt, the
default value for this parameter will be "method".
closes: https://github.com/risc0/scratch/issues/102
closes: #470