Skip to content

Commit

Permalink
remove lang_items - add abort panic in profile dev in .toml wasm
Browse files Browse the repository at this point in the history
  • Loading branch information
BiancaIalangi committed May 7, 2024
1 parent b955ab3 commit 0ab784e
Show file tree
Hide file tree
Showing 241 changed files with 892 additions and 184 deletions.
8 changes: 8 additions & 0 deletions contracts/examples/adder/wasm/Cargo.lock

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

3 changes: 3 additions & 0 deletions contracts/examples/adder/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.adder]
path = ".."

Expand Down
2 changes: 0 additions & 2 deletions contracts/examples/adder/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@
// Total number of exported functions: 5

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down
8 changes: 8 additions & 0 deletions contracts/examples/bonding-curve-contract/wasm/Cargo.lock

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

3 changes: 3 additions & 0 deletions contracts/examples/bonding-curve-contract/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.bonding-curve-contract]
path = ".."

Expand Down
2 changes: 0 additions & 2 deletions contracts/examples/bonding-curve-contract/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 12

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down
8 changes: 8 additions & 0 deletions contracts/examples/check-pause/wasm/Cargo.lock

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

3 changes: 3 additions & 0 deletions contracts/examples/check-pause/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.check-pause]
path = ".."

Expand Down
2 changes: 0 additions & 2 deletions contracts/examples/check-pause/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 6

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down
8 changes: 8 additions & 0 deletions contracts/examples/crowdfunding-esdt/wasm/Cargo.lock

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

3 changes: 3 additions & 0 deletions contracts/examples/crowdfunding-esdt/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.crowdfunding-esdt]
path = ".."

Expand Down
2 changes: 0 additions & 2 deletions contracts/examples/crowdfunding-esdt/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 10

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down
8 changes: 8 additions & 0 deletions contracts/examples/crypto-bubbles/wasm/Cargo.lock

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

3 changes: 3 additions & 0 deletions contracts/examples/crypto-bubbles/wasm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.crypto-bubbles]
path = ".."

Expand Down
2 changes: 0 additions & 2 deletions contracts/examples/crypto-bubbles/wasm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 8

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.kitty-auction]
path = ".."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 11

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.kitty-genetic-alg]
path = ".."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 3

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down

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

Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ debug = false
panic = "abort"
overflow-checks = false

[profile.dev]
panic = "abort"

[dependencies.kitty-ownership]
path = ".."

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
// Total number of exported functions: 23

#![no_std]
#![allow(internal_features)]
#![feature(lang_items)]

multiversx_sc_wasm_adapter::allocator!();
multiversx_sc_wasm_adapter::panic_handler!();
Expand Down
Loading

0 comments on commit 0ab784e

Please sign in to comment.