Skip to content

Commit

Permalink
Add #![no_std] and fix the fallout
Browse files Browse the repository at this point in the history
  • Loading branch information
ratmice committed Feb 6, 2024
1 parent af9e613 commit 6db8262
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/blob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ use core::fmt;
use core::sync::atomic::{AtomicU64, Ordering};
extern crate alloc;
use alloc::sync::{Arc, Weak};
use alloc::boxed::Box;
use alloc::vec::Vec;

/// Shared data with an associated unique identifier.
pub struct Blob<T> {
Expand Down
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![no_std]
// Copyright 2022 The peniko authors.
// SPDX-License-Identifier: Apache-2.0 OR MIT

Expand Down

0 comments on commit 6db8262

Please sign in to comment.