Skip to content

Conversation

@itowlson
Copy link
Contributor

Fixes #13.

$ spin deps generate-bindings -L rust -o bindywoo -c nonexistentcomp
Error: The WIT file that `spin deps` uses to track component dependencies doesn't exist. This can happen if:
* the component name is incorrect
* you've not previously run `spin deps add` for this component
The expected file is ".wit/components/nonexistentcomp/deps.wit"

@itowlson itowlson merged commit ecaf069 into spinframework:main Dec 12, 2024
8 checks passed
.join(SPIN_DEPS_WIT_FILE_NAME);

if !std::fs::exists(&wit_path)? {
// TODO: warn that the file does not exist
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Providing a non-existing component id to spin deps generate-bindings fails silently

3 participants