Skip to content

Commit

Permalink
chore: derive borsh traits for sys::windows::memory::Protect
Browse files Browse the repository at this point in the history
  • Loading branch information
dj8yf0μl committed Jan 15, 2024
1 parent bade8df commit 3c1e9aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion lib/runtime-core/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "wasmer-runtime-core-near"
version = "0.18.3"
version = "0.18.4"
description = "Wasmer runtime core library"
license = "MIT"
authors = ["The Wasmer Engineering Team <engineering@wasmer.io>"]
Expand Down
2 changes: 1 addition & 1 deletion lib/runtime-core/src/sys/windows/memory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ impl Clone for Memory {
}

/// Kinds of memory protection.
#[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq)]
#[derive(Serialize, Deserialize, Debug, Copy, Clone, PartialEq, Eq, BorshSerialize, BorshDeserialize)]
#[allow(dead_code)]
pub enum Protect {
/// Read/write/exec allowed.
Expand Down

0 comments on commit 3c1e9aa

Please sign in to comment.