-
Notifications
You must be signed in to change notification settings - Fork 167
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
Add miden-package
crate with Package
type to represent a compiled Miden program/library.
#1544
Open
greenhat
wants to merge
12
commits into
next
Choose a base branch
from
greenhat/miden-package
base: next
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.
Conversation
This file contains 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
greenhat
changed the title
Ass
Add Oct 23, 2024
miden-package
crate with Package
type to represent a compiled Miden program/library.miden-package
crate with Package
type to represent a compiled Miden program/library.
greenhat
force-pushed
the
greenhat/miden-package
branch
4 times, most recently
from
October 30, 2024 09:44
76a4b7e
to
9ff342e
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
from
October 30, 2024 10:14
9ff342e
to
7c9b95b
Compare
greenhat
changed the base branch from
next
to
greenhat/library-deser-uncheck-exports
October 30, 2024 10:15
greenhat
force-pushed
the
greenhat/library-deser-uncheck-exports
branch
from
November 4, 2024 17:37
1ca8581
to
3581727
Compare
Base automatically changed from
greenhat/library-deser-uncheck-exports
to
next
November 4, 2024 21:37
greenhat
force-pushed
the
greenhat/miden-package
branch
7 times, most recently
from
November 12, 2024 14:07
41b5f5d
to
c5ff6f0
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
6 times, most recently
from
November 19, 2024 08:49
211f34c
to
84ea102
Compare
greenhat
changed the base branch from
next
to
greenhat/i1547-mastforest-add-advicemap
November 19, 2024 08:49
greenhat
changed the title
Add
[2/2] Add Nov 19, 2024
miden-package
crate with Package
type to represent a compiled Miden program/library.miden-package
crate with Package
type to represent a compiled Miden program/library.
greenhat
force-pushed
the
greenhat/i1547-mastforest-add-advicemap
branch
from
November 19, 2024 14:40
eda4a01
to
006e03a
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
2 times, most recently
from
November 19, 2024 15:00
5ec902e
to
d6419ca
Compare
greenhat
force-pushed
the
greenhat/i1547-mastforest-add-advicemap
branch
from
November 20, 2024 07:05
006e03a
to
92f3309
Compare
greenhat
force-pushed
the
greenhat/i1547-mastforest-add-advicemap
branch
3 times, most recently
from
November 20, 2024 12:41
2f8f3fe
to
93869ef
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
from
November 20, 2024 14:53
d6419ca
to
fe4afa2
Compare
Base automatically changed from
greenhat/i1547-mastforest-add-advicemap
to
next
November 21, 2024 12:01
greenhat
changed the title
[2/2] Add
Add Nov 25, 2024
miden-package
crate with Package
type to represent a compiled Miden program/library.miden-package
crate with Package
type to represent a compiled Miden program/library.
greenhat
force-pushed
the
greenhat/miden-package
branch
from
November 25, 2024 14:47
75bd636
to
3b9b31d
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
from
December 18, 2024 07:50
3b9b31d
to
280d338
Compare
compiled Miden program/library.
`AdviceMap` from iterator constructor.
greenhat
force-pushed
the
greenhat/miden-package
branch
from
December 20, 2024 15:01
1ce2c26
to
9886dc6
Compare
add test for deserializing rustc mangled symbols.
…compiler Reasons: - The `Package` serialization proptests and testing `LibraryPath`, `ProcedureName` with example names produced by the compiler are enough; - The test is fragile and brakes on any change to `Package` underlying types serialization. Updating the `masp` file is non-trivial;
greenhat
force-pushed
the
greenhat/miden-package
branch
from
December 20, 2024 15:22
9886dc6
to
b1354c1
Compare
greenhat
force-pushed
the
greenhat/miden-package
branch
from
December 20, 2024 16:25
514b7fc
to
ebc8311
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR adds
miden-package
crate withPackage
type ported from the compiler's ad-hoc implementation to represent a compiled Miden program/library. Besides this, the deserialization of theLibraryPath
was switched to use the unchecked constructors to accommodate the Wasm Component Model names for modules.Please consider reviewing this PR commit-by-commit. I crafted the commits to be focused on a single change and show the evolution of the implementation.
The reasons for the new crate are explained in 0xPolygonMiden/compiler#346
The compiler's PR that uses
miden-package
from this PR is 0xPolygonMiden/compiler#349