Repository navigation
chore: build through mbx's Cargo shim, toward a warm gate #426
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
Open
kixelated
wants to merge
12
commits into
main
Choose a base branch
from
quest/m0/checks/cache
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+78
−32
Open
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
af4a777
chore(quest): claim quest/m0/checks/cache.md
kixelated 03d3a7b
chore: put mbx's Cargo shim ahead of the dev shell's toolchains
kixelated f0ecaab
fix(uniffi): resolve generate_and_include_scaffolding!'s path from th…
kixelated 413bf17
chore(quest): note mbx's placeholder leak blocking the warm gate
kixelated b693dd9
docs(uniffi): note generate_and_include_scaffolding!'s new path base
kixelated a6755ce
chore(quest): hold the warm gate on jdx/mr-boxington#896, then mbxChe…
kixelated 6510d13
Merge remote-tracking branch 'origin/main' into pr-426-cache
kixelated 3d0cabc
chore(quest): mbx 1.29.2 fixes the uitests snapshots; the host change…
kixelated d6de45e
Merge remote-tracking branch 'origin/main' into pr-426-cache
kixelated dafb487
chore(go): keep mbx's Cargo shim ahead of the nightly
kixelated 7ad403e
quest: list the host steps the cache quest still waits on
kixelated 33733f2
Merge remote-tracking branch 'origin/main' into HEAD
kixelated File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
uniffi/fixtures/uitests/tests/ui/fieldless_errors_used_in_callbacks_cant_have_fields.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
uniffi/fixtures/uitests/tests/ui/interface_cannot_use_mut_self.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
uniffi/fixtures/uitests/tests/ui/interface_not_sync_and_send.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
uniffi/fixtures/uitests/tests/ui/interface_trait_not_sync_and_send.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| // Unfortunately, path is relative to a temporary build directory :-/ | ||
| uniffi_macros::generate_and_include_scaffolding!("../../../../uniffi/fixtures/uitests/src/records.udl"); | ||
| // The path is relative to this file. | ||
| uniffi_macros::generate_and_include_scaffolding!("../../src/records.udl"); | ||
|
|
||
| fn main() { /* empty main required by `trybuild` */} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
uniffi/fixtures/uitests/tests/ui/trait_methods_unknown_trait.rs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 3 additions & 3 deletions
6
uniffi/fixtures/uitests/tests/ui/trait_methods_unknown_trait.stderr
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| error: Failed to generate scaffolding from UDL file at ../../../../uniffi/fixtures/uitests/src/trait_methods_unknown_trait.udl: parsing udl file ../../../../uniffi/fixtures/uitests/src/trait_methods_unknown_trait.udl: Invalid trait name: PartialEq | ||
| error: Failed to generate scaffolding from UDL file at ../../src/trait_methods_unknown_trait.udl: parsing udl file $DIR/tests/ui/../../src/trait_methods_unknown_trait.udl: Invalid trait name: PartialEq | ||
| --> tests/ui/trait_methods_unknown_trait.rs:2:1 | ||
| | | ||
| 2 | uniffi_macros::generate_and_include_scaffolding!("../../../../uniffi/fixtures/uitests/src/trait_methods_unknown_trait.udl"); | ||
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| 2 | uniffi_macros::generate_and_include_scaffolding!("../../src/trait_methods_unknown_trait.udl"); | ||
| | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | ||
| | | ||
| = note: this error originates in the macro `uniffi_macros::generate_and_include_scaffolding` (in Nightly builds, run with -Z macro-backtrace for more info) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| // Unfortunately, path is relative to a temporary build directory :-/ | ||
| uniffi_macros::generate_and_include_scaffolding!("../../../../uniffi/fixtures/uitests/src/typedef_extern.udl"); | ||
| // The path is relative to this file. | ||
| uniffi_macros::generate_and_include_scaffolding!("../../src/typedef_extern.udl"); | ||
|
|
||
| fn main() { /* empty main required by `trybuild` */} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script executed:
Repository: moq-dev/rust2
Length of output: 4309
Script executed:
Repository: moq-dev/rust2
Length of output: 35196
Script executed:
Repository: moq-dev/rust2
Length of output: 5326
Web query:
github jdx mr-boxington mbx setup cargo shim location setup status shim executable old directory sourceResult:
Script executed:
Repository: moq-dev/rust2
Length of output: 7291
Web query:
Nix develop reference --ignore-environment default environment variables inherited shellHook documentationResult:
Clear the inherited shim directory before checking for a shim.
If the old shim is replaced by another
cargoandmbxis unavailable, the hook retains the old directory. Nightly recipes then select thatcargobefore the pinned toolchain. ClearRUST2_CARGO_SHIMbefore the check.Suggested fix
shellHook = '' + unset RUST2_CARGO_SHIM shim=$(mbx setup --status 2>/dev/null | sed -n '1s/.*: //p' || true)