Skip to content
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

updating ic-cdk through ic-wasi-polyfill #2057

Merged
merged 3 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
665 changes: 361 additions & 304 deletions Cargo.lock

Large diffs are not rendered by default.

Binary file modified canister_templates/experimental.wasm
Binary file not shown.
Binary file modified canister_templates/stable.wasm
Binary file not shown.
3 changes: 3 additions & 0 deletions src/build/experimental/commands/compile/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IOType } from 'child_process';
import { rm } from 'fs/promises';

import { writeGeneratedFiles } from '../../../stable/commands/compile';
import { execSyncPretty } from '../../../stable/utils/exec_sync_pretty';
Expand Down Expand Up @@ -27,6 +28,8 @@ export async function runCommand(
wasmData
} = await getContext(canisterName, canisterConfig);

await rm(canisterPath, { recursive: true, force: true });

const javaScript = await compileJavaScript(main, esmAliases, esmExternals);

const { candid, methodMeta } = await getCandidAndMethodMeta(
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion src/build/rust/canister/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ slotmap = "=1.0.6"
sha2 = "0.10.8"
serde = "1.0.202"
serde_json = "1.0.107"
ic-wasi-polyfill = "0.5.0"
ic-wasi-polyfill = "0.6.1"
wasmedge_quickjs = { git = "https://github.com/demergent-labs/wasmedge-quickjs", rev = "573c6c07316de64e4bb9a9561b079f265fd9bcc4" }
# wasmedge_quickjs = { path = "/home/wasmedge-quickjs" }

Expand Down
2 changes: 1 addition & 1 deletion src/build/rust/open_value_sharing/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ edition = "2018"
serde = "1.0.202"
serde_json = "1.0.117"
candid = "0.10.8"
ic-cdk = "0.12.1"
ic-cdk = "0.12.2"
ic-cdk-macros = "0.8.4"
ic-cdk-timers = "0.6.0"
ic-stable-structures = "0.6.5"
Expand Down
3 changes: 3 additions & 0 deletions src/build/stable/commands/compile/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { IOType } from 'child_process';
import { rm } from 'fs/promises';
import { outputFile } from 'fs-extra';
import { join } from 'path';

Expand All @@ -16,6 +17,8 @@ export async function runCommand(
const { main, canisterPath, candidPath, wasmBinaryPath, wasmData } =
getContext(canisterName, canisterConfig);

await rm(canisterPath, { recursive: true, force: true });

const javaScript = await compileJavaScript(main);

const { candid, methodMeta } = await getCandidAndMethodMeta(
Expand Down

This file was deleted.

Loading