Skip to content

Commit d80c06c

Browse files
committed
Revert "Revert changes in the SDK crate"
This reverts commit c66f7d7.
1 parent 46d358a commit d80c06c

File tree

8 files changed

+1
-19
lines changed

8 files changed

+1
-19
lines changed

Cargo.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

program/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ solana-logger = { workspace = true }
109109

110110
[target.'cfg(target_arch = "wasm32")'.dependencies]
111111
getrandom = { workspace = true, features = ["js", "wasm-bindgen"] }
112-
wasm-bindgen = { workspace = true }
113112

114113
[dev-dependencies]
115114
array-bytes = { workspace = true }

program/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,8 +572,6 @@ pub use solana_stable_layout as stable_layout;
572572
pub use solana_sysvar::program_stubs;
573573
#[deprecated(since = "2.2.0", note = "Use `solana-vote-interface` crate instead")]
574574
pub use solana_vote_interface as vote;
575-
#[cfg(target_arch = "wasm32")]
576-
pub use wasm_bindgen::prelude::wasm_bindgen;
577575
pub use {
578576
solana_account_info::{self as account_info, debug_account_data},
579577
solana_clock as clock,

sdk/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ solana-program = { workspace = true, features = ["dev-context-only-utils"] }
190190
solana-sdk = { path = ".", features = ["dev-context-only-utils"] }
191191

192192
[package.metadata.docs.rs]
193-
targets = ["x86_64-unknown-linux-gnu", "wasm32-unknown-unknown"]
193+
targets = ["x86_64-unknown-linux-gnu"]
194194
all-features = true
195195
rustdoc-args = ["--cfg=docsrs"]
196196

sdk/src/lib.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ pub use solana_program::program_stubs;
4242
// confusing duplication in the docs due to a rustdoc bug. #26211
4343
#[allow(deprecated)]
4444
pub use solana_program::sdk_ids;
45-
#[cfg(target_arch = "wasm32")]
46-
pub use solana_program::wasm_bindgen;
4745
pub use solana_program::{
4846
account_info, address_lookup_table, big_mod_exp, blake3, bpf_loader, bpf_loader_deprecated,
4947
bpf_loader_upgradeable, clock, config, custom_heap_default, custom_panic_default,
@@ -97,7 +95,6 @@ pub mod signature;
9795
pub mod signer;
9896
pub mod transaction;
9997
pub mod transport;
100-
pub mod wasm;
10198

10299
#[deprecated(since = "2.1.0", note = "Use `solana-account` crate instead")]
103100
pub use solana_account as account;

sdk/src/wasm/keypair.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

sdk/src/wasm/mod.rs

Lines changed: 0 additions & 5 deletions
This file was deleted.

sdk/src/wasm/transaction.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)