Skip to content

Commit

Permalink
fix(tests/coap): Drop allocator
Browse files Browse the repository at this point in the history
  • Loading branch information
chrysn committed Nov 25, 2024
1 parent f44479c commit eef9f36
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 25 deletions.
17 changes: 0 additions & 17 deletions Cargo.lock

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

1 change: 0 additions & 1 deletion tests/coap/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ coap-request-implementations = "0.1.0-alpha.4"
coap-handler = "0.2.0"
coap-handler-implementations = "0.5.0"

static-alloc = { version = "0.2.5", features = ["polyfill"] }
coap-scroll-ring-server = "0.2.0"
scroll-ring = "0.1.1"

Expand Down
7 changes: 0 additions & 7 deletions tests/coap/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,6 @@
#![feature(impl_trait_in_assoc_type)]
#![feature(used_with_arg)]

// because coapcore depends on it temporarily
extern crate alloc;
use static_alloc::Bump;

#[global_allocator]
static A: Bump<[u8; 1 << 16]> = Bump::uninit();

#[ariel_os::task(autostart)]
async fn coap_run() {
use coap_handler_implementations::HandlerBuilder;
Expand Down

0 comments on commit eef9f36

Please sign in to comment.