mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 03:27:58 +00:00
Support code blobs compressed with zstd (#8549)
* begin maybe-compressed-blob * fix build * implement blob compression / decompression * add some tests * decode -> decompress * decompress code if compressed * make API of compresseed blob crate take limit as parameter * use new API in sc-executro * wasm-builder: compress wasm * fix typo * simplify * address review * fix wasm_project.rs * Update primitives/maybe-compressed-blob/Cargo.toml Co-authored-by: Andronik Ordian <write@reusable.software> Co-authored-by: Andronik Ordian <write@reusable.software>
This commit is contained in:
committed by
GitHub
parent
d8c1a1d12b
commit
a600e278ed
@@ -217,7 +217,7 @@ fn generate_rerun_if_changed_instructions() {
|
||||
/// `project_cargo_toml` - The path to the `Cargo.toml` of the project that should be built.
|
||||
/// `default_rustflags` - Default `RUSTFLAGS` that will always be set for the build.
|
||||
/// `features_to_enable` - Features that should be enabled for the project.
|
||||
/// `wasm_binary_name` - The optional wasm binary name that is extended with `.compact.wasm`.
|
||||
/// `wasm_binary_name` - The optional wasm binary name that is extended with `.compact.compressed.wasm`.
|
||||
/// If `None`, the project name will be used.
|
||||
fn build_project(
|
||||
file_name: PathBuf,
|
||||
|
||||
Reference in New Issue
Block a user