Skip to content

Setup cargo config in cargo generator README#471

Merged
bbhtt merged 1 commit intoflatpak:masterfrom
swsnr:patch-1
May 15, 2025
Merged

Setup cargo config in cargo generator README#471
bbhtt merged 1 commit intoflatpak:masterfrom
swsnr:patch-1

Conversation

@swsnr
Copy link
Contributor

@swsnr swsnr commented May 15, 2025

Without this step the configuration file is at the wrong place, and cargo won't use the vendored sources.

Without this step the configuration file is at the wrong place, and cargo won't use the vendored sources.
@swsnr swsnr requested a review from a team as a code owner May 15, 2025 08:42
@github-actions github-actions bot added the cargo Rust cargo label May 15, 2025
@bbhtt
Copy link
Collaborator

bbhtt commented May 15, 2025

This isn't needed if you set:

    build-options:
      env:
        CARGO_HOME: /run/build/$module_name/cargo

as written below. But also meh as that's deprecated...

@bbhtt bbhtt merged commit 5fe25e6 into flatpak:master May 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cargo Rust cargo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants