Repository navigation
feat(ts): pick the browser's randomness, and translate moq-net at moq's main #397
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
Merged
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
b7805bc
chore(quest): claim quest/m2/ts-moq-pin.md
kixelated 61f0988
feat(ts): pick the browser's randomness for getrandom and uuid, and t…
kixelated 193fc85
fix(ts): hold --locked to the workspace's lockfile, and record the mo…
kixelated b5907cc
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated fd303e5
fix(ts): keep a pick's source, read the package's directory from carg…
kixelated c573b39
fix(ts): keep a crate's two sources apart, and a profile's "*" off th…
kixelated dcd75e9
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated ed0f243
fix(ts): keep the profile overrides cargo would apply, and refuse a c…
kixelated 11804ac
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated 11abc4f
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated 643bb27
refactor(ts): refuse a "*" dev-profile override through the root inst…
kixelated 4468cd9
chore(quest): name the model as moq's browser route in m2's list
kixelated 208a7b4
fix(ts): refuse a --features or -F with no value
kixelated 6045932
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated 269ac07
Merge remote-tracking branch 'origin/main' into quest/m2/ts-moq-pin
kixelated e068968
quest land: merge tested base
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
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 |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| # [S] The std calls moq's main added to the model | ||
|
|
||
| ## Goal | ||
|
|
||
| rust2-ts translates the std calls that moq-net's model reaches at moq's `main` and refused | ||
| there first, proven by differential tests against native Rust: `VecDeque::range`, and | ||
| `str::rsplit_once` and `str::split_terminator` by a `char`. | ||
|
|
||
| ## Plan | ||
|
|
||
| Found moving the translator's moq pin past moq's WASM removal: each is one refusal in the | ||
| census of `ts/moq/model.toml` (`model/group.rs`, `model/origin.rs`, `path/mod.rs`) that the | ||
| previous pin's census did not have. Translate each as std's others of its kind are, with | ||
| no config. The model's new `dyn DoubleEndedIterator` in `model/track.rs` is | ||
| [trait objects](/quest/m3/ts-dyn.md)' work. | ||
|
|
||
| Public API: the translator's output. |
This file was deleted.
Oops, something went wrong.
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
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: 9728
Script executed:
Repository: moq-dev/rust2
Length of output: 17928
Give the FFI standin its own moq checkout, or lock checkouts of
target/moq.The FFI standin now checks out 30f25c04 into
../ts/target/moq. The TypeScriptmoqandbenchrecipes check out 4b8e37bd into the same directory and read it afterward. A concurrent run can switch the tree mid-read, so a TypeScript run may fail or use another revision.