forked from nexus-xyz/nexus-zkvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-export postcard in runtime (nexus-xyz#280)
* re-export postcard in runtime * bump version * unfreeze version * add postcard usage to guest example * disable postcard default features * fmt * fix
- Loading branch information
1 parent
4864895
commit 2e3fba3
Showing
5 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -117,12 +117,11 @@ fn setup_crate(host_path: PathBuf, rev: Option<String>, tag: Option<String>) -> | |
)?; | ||
|
||
// add postcard because it is used for (de)serializing from/to the input/output tapes | ||
// Hardcode postcard version to 1.0.8 | ||
cargo( | ||
Some(&guest_path), | ||
[ | ||
"add", | ||
"postcard@=1.0.8", | ||
"[email protected].10", | ||
"-F", | ||
"alloc", | ||
"--no-default-features", | ||
|
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ pub use nexus_rt_macros::{main, profile}; | |
|
||
mod ecalls; | ||
pub use ecalls::*; | ||
pub use postcard; |
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