Skip to content
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

Add support for virtual manifests #396

Open
R1kM opened this issue Oct 1, 2024 · 2 comments
Open

Add support for virtual manifests #396

R1kM opened this issue Oct 1, 2024 · 2 comments
Assignees
Labels
C-bug A bug in charon

Comments

@R1kM
Copy link
Member

R1kM commented Oct 1, 2024

When running Charon on a virtual manifest, e.g., serde, Charon currently crashes with the following error message

error: manifest path `/Users/fromherz/Work/papers/charon-tool-paper/tools/serde/Cargo.toml` is a virtual manifest, but this command requires running against an actual package in this workspace
@R1kM R1kM added the C-bug A bug in charon label Oct 1, 2024
@Nadrieril
Copy link
Member

Can you try --cargo-arg '--package=serde' (with an appropriate package name)?

@Nadrieril
Copy link
Member

Nadrieril commented Oct 2, 2024

I can confirm that works, so this is so far cargo working as expected. We'll have to investigate to see if we can ask it to translate all crates in the workspace.

@Nadrieril Nadrieril self-assigned this Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug A bug in charon
Projects
None yet
Development

No branches or pull requests

2 participants