dfinity / cdk-rs

Rust canister development kit for the Internet Computer.
Apache License 2.0
201 stars 90 forks source link

feat!: Stable Memory always use 64-bit addresses and `stable64_*` system API. #498

Closed lwshang closed 4 months ago

lwshang commented 4 months ago

SDK-1758

Description

The 32-bit stable memory API are deprecated. They will trap when the stable memory exceeds 4 GiB.

Now ic-cdk only provide Rust API which deal with 64-bit stable memory addresses.

How Has This Been Tested?

api/stable/tests.rs

Checklist: