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

Fix permissions issue with tests #95

Closed
wants to merge 2 commits into from

Conversation

rcardenes
Copy link

When developing a Rust project, the usual way to run the target binary would be cargo run. The current template does that, passing a number of other arguments (silent build, etc.)

There's a problem when trying to go through the extension (RDB access) though. Cargo is able to pass arguments to the target, but it needs to be told where its own arguments end. As is, the

This PR fixes the problem.

…eeds to get told that we're passing arguments to the target binary, not to itself
@rohitpaulk
Copy link
Member

Thanks so much for this! Just waiting for a full test run, will merge soon after

@rohitpaulk rohitpaulk mentioned this pull request Oct 6, 2023
@rohitpaulk
Copy link
Member

@libmartinito looks like the recent depot.dev changes result in tests not running for PRs from forks - could you look into this please? For now I've cherry-picked the commit from here and onto #96

rohitpaulk added a commit that referenced this pull request Oct 6, 2023
@rohitpaulk
Copy link
Member

Merged in #96 - will keep open so we can investigate the issue with PRs to forks not building

@rcardenes
Copy link
Author

Updated with a new commit. I managed to introduce a typo even into this tiny patch (sigh)

@rohitpaulk rohitpaulk changed the title Fix a bug that prevents the server to run when using Rust, as cargo n… Fix permissions issue with tests Oct 9, 2023
@rohitpaulk rohitpaulk closed this Oct 25, 2023
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.

3 participants