diff --git a/build.rs b/build.rs index fa3a28318cca8d633f4309f8e886bc23848a20f8..379b25ffef47e1160264ce7e77099f1e7e2bce6c 100644 --- a/build.rs +++ b/build.rs @@ -27,7 +27,9 @@ fn main() { write!(fcfg, "pub const CPU_CORE_NUMBERS: usize = {}usize;", cpus).unwrap(); } + println!("cargo:rerun-if-changed=build.rs"); + println!( "cargo:rerun-if-changed={}", top_path.join(".cargo/config.toml").to_str().unwrap() diff --git a/examples/liteos/mod.rs b/examples/liteos/mod.rs index 29eca78453888dc694c4241dd5aa39a8d1bc91b4..a9556e84e62272beeda6636efa4d6f426def4bd0 100644 --- a/examples/liteos/mod.rs +++ b/examples/liteos/mod.rs @@ -1,4 +1,7 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 mod parker; pub use parker::*; mod mutex; pub use mutex::*; + diff --git a/examples/liteos/mutex.rs b/examples/liteos/mutex.rs index 70124c3e5f128ab964d6436ced0ca0dd3bc50096..d508391c907334d479bcaad8ed801b0b3811ced7 100644 --- a/examples/liteos/mutex.rs +++ b/examples/liteos/mutex.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use alloc::sync::Arc; use stdlib::sync::Mutex; use stdlib::thread; @@ -16,3 +18,4 @@ pub fn mutex_test() { let mm = mutex.lock(); assert_eq!(*mm, 46); } + diff --git a/examples/liteos/parker.rs b/examples/liteos/parker.rs index a60f2f7afe2d8fb13f9c3368ae86aed438048d31..82080b8f9977564ba34b2a196526d56c62f9747f 100644 --- a/examples/liteos/parker.rs +++ b/examples/liteos/parker.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use stdlib::{println, sync::parker::*, thread}; pub fn park_timeout_unpark_before() { @@ -45,3 +47,4 @@ pub fn parker_driver_led() { u.unpark(); } } + diff --git a/examples/test_liteos.rs b/examples/test_liteos.rs index cd15257b554bf557cd4e67c3a2a37e5e3c738b22..a983706c5c350d9290328ac7e1c7e8b94a19a76c 100644 --- a/examples/test_liteos.rs +++ b/examples/test_liteos.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #![no_std] #![feature(default_alloc_error_handler)] #![feature(panic_info_message)] @@ -42,3 +44,4 @@ unsafe extern "C" fn app_init() { println!("{}", "Test Mutex start..."); mutex_test(); } + diff --git a/src/anyhow.rs b/src/anyhow.rs index 90df12177fc169ed6f2cd187f61cb8ece4b953b7..e112c3e265963d1d75357f10d3e6b8b62e4457d1 100644 --- a/src/anyhow.rs +++ b/src/anyhow.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use alloc::{ alloc::dealloc, boxed::Box, @@ -144,3 +146,4 @@ impl Context for result::Result { } pub type Result = result::Result; + diff --git a/src/no_std/collections/mod.rs b/src/no_std/collections/mod.rs index 7af61052302a4425852ef676760cdfa204a6c220..6df7fb9dcccb53f6a199d0206f1d4434ab6e5eba 100644 --- a/src/no_std/collections/mod.rs +++ b/src/no_std/collections/mod.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 pub enum PopError { /// The queue is empty but not closed. Empty, @@ -126,3 +128,4 @@ use core::fmt; use core::sync::atomic::{self, AtomicUsize, Ordering}; mod unbounded; pub use unbounded::Unbounded; + diff --git a/src/no_std/collections/objpool.rs b/src/no_std/collections/objpool.rs index ba21022aae96cd13ea83c4f9f90ae85075641c2f..ddaa19ebc9377685db18bc2bd9eb2f12ba157694 100644 --- a/src/no_std/collections/objpool.rs +++ b/src/no_std/collections/objpool.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test, not(target_os = "none")))] mod tests; use crate::sync::parker::Parker; @@ -350,3 +352,4 @@ impl Drop for ObjPool { } } } + diff --git a/src/no_std/collections/objpool/tests.rs b/src/no_std/collections/objpool/tests.rs index e909de3c8f070fdbb8d20db74c40f71cbeb95b92..64b63a5621cd19dd82ea8eda0092bd7909a9470d 100644 --- a/src/no_std/collections/objpool/tests.rs +++ b/src/no_std/collections/objpool/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use super::Obj; use alloc::format; use alloc::sync::Arc; @@ -54,3 +56,4 @@ fn test_new() { } assert_eq!(1, 1); } + diff --git a/src/no_std/collections/unbounded.rs b/src/no_std/collections/unbounded.rs index bf82f337299abcdc9c327606c85bd06a04e07690..9d5517ef13de72f89764ff33f64de78c5f09c85b 100644 --- a/src/no_std/collections/unbounded.rs +++ b/src/no_std/collections/unbounded.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test, not(target_os = "none")))] mod tests; use crate::thread; @@ -409,3 +411,4 @@ impl Drop for Unbounded { } } } + diff --git a/src/no_std/collections/unbounded/tests.rs b/src/no_std/collections/unbounded/tests.rs index 4cb52d37d83940dffb929db8497d998dd1e688de..dd0ca31492b765d50f581ff8a98edcd26602533e 100644 --- a/src/no_std/collections/unbounded/tests.rs +++ b/src/no_std/collections/unbounded/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use super::Unbounded; #[test] @@ -12,3 +14,4 @@ fn test_push_pop() { assert_eq!(d, 456); } } + diff --git a/src/no_std/error.rs b/src/no_std/error.rs index 13ea387883428774ac8e3281203b3224cf7e5ed2..e960633e5f623b90c5c09d00dfd1157245a2ecd9 100644 --- a/src/no_std/error.rs +++ b/src/no_std/error.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test,not(target_os="none")))] mod tests; @@ -263,3 +265,4 @@ impl dyn Error + Send + Sync { }) } } + diff --git a/src/no_std/error/tests.rs b/src/no_std/error/tests.rs index 64d1f9d0f379a3c9056fd0e2c9fdfd0394b09883..62e4ba78d474de2af00a8694dbbfb29d1266ccb0 100644 --- a/src/no_std/error/tests.rs +++ b/src/no_std/error/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 extern crate std; use std::println; @@ -41,3 +43,4 @@ fn test_boxerr() { // Err(e) => assert_eq!(*e.downcast::().unwrap(), A), // } // } + diff --git a/src/no_std/io/error.rs b/src/no_std/io/error.rs index 297671b59849824baeea64cd80d10f7e8ccd9025..0d89ce1f6a96c9280cb7a235523e609fa624f56b 100644 --- a/src/no_std/io/error.rs +++ b/src/no_std/io/error.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test,not(target_os="none")))] mod tests; use core::{ @@ -143,3 +145,4 @@ impl From for Error { Self::from_raw_os_error(v.raw_os_error()) } } + diff --git a/src/no_std/io/mod.rs b/src/no_std/io/mod.rs index 7edf3bf209347f54a6a4fbd2d0a298fa16564c08..a5b239521be33cfa68814a67fddaecbe4c40c88a 100644 --- a/src/no_std/io/mod.rs +++ b/src/no_std/io/mod.rs @@ -1,2 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 mod error; pub use error::*; + diff --git a/src/no_std/lazy.rs b/src/no_std/lazy.rs index fd38e900fde67b8aaf2d8037fac29ae2eb7f3e0c..41d238b0eac0c0a98665381dc0fcb69f8bd396eb 100644 --- a/src/no_std/lazy.rs +++ b/src/no_std/lazy.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 //! Lazy values and one-time initialization of static data. #[cfg(test)] @@ -267,3 +269,4 @@ impl Default for SyncLazy { SyncLazy::new(T::default) } } + diff --git a/src/no_std/lazy/tests.rs b/src/no_std/lazy/tests.rs index 8b137891791fe96927ad78e64b0aad7bded08bdc..290b56efb2078de5b9eaa0d0435fa15792e303ed 100644 --- a/src/no_std/lazy/tests.rs +++ b/src/no_std/lazy/tests.rs @@ -1 +1,4 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 + diff --git a/src/no_std/mod.rs b/src/no_std/mod.rs index df9462431120059e986276e76ebdcea3fb1f29c2..8e502c54d4cf2d2bf2828c0abb63d036170a7829 100644 --- a/src/no_std/mod.rs +++ b/src/no_std/mod.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 pub mod collections; pub mod error; pub mod io; @@ -18,3 +20,4 @@ pub macro println{ unsafe{ $crate::printf(s.as_ptr().cast()) } } } + diff --git a/src/no_std/sync/condvar.rs b/src/no_std/sync/condvar.rs index dca3fc7839864c114cad35eb303b4cc219b6aa99..280a7be86c73af8317069fe1fee6eb4392084148 100644 --- a/src/no_std/sync/condvar.rs +++ b/src/no_std/sync/condvar.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] mod tests; @@ -119,3 +121,4 @@ impl Condvar { self.inner.notify_all() } } + diff --git a/src/no_std/sync/condvar/tests.rs b/src/no_std/sync/condvar/tests.rs index 47df0b8609ec18823c6a4a42e483df6cf92770ec..b0f14bab59994f902b58bc79862758294f15a7b2 100644 --- a/src/no_std/sync/condvar/tests.rs +++ b/src/no_std/sync/condvar/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use core::sync::atomic::{AtomicBool, Ordering}; use crate::{sync::Mutex, thread}; @@ -165,3 +167,4 @@ fn wait_timeout_wake() { // let m = Mutex::new(()); // let _ = c.wait(m.lock()); // } + diff --git a/src/no_std/sync/mod.rs b/src/no_std/sync/mod.rs index 472756d3e1096672b84be95021fa0105d106285f..a8427e29c4b77958af627bc7b50b0803a602ea90 100644 --- a/src/no_std/sync/mod.rs +++ b/src/no_std/sync/mod.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(unix)] mod condvar; @@ -17,3 +19,4 @@ pub use once::{Once, OnceState}; #[cfg(unix)] pub use rwlock::{RwLock, RwLockReadGuard, RwLockWriteGuard}; pub use spinlock::*; + diff --git a/src/no_std/sync/mutex.rs b/src/no_std/sync/mutex.rs index c07e6704c30bcc28229e138e900874c6dafaa1fe..007740bdc3c14db78a1e78de8b73f0ff2b34bcff 100644 --- a/src/no_std/sync/mutex.rs +++ b/src/no_std/sync/mutex.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test, not(target_os = "none")))] mod tests; use arch::locks::MovableMutex as imp; @@ -114,3 +116,4 @@ impl Drop for MutexGuard<'_, T> { pub(super) fn guard_lock<'a, T: ?Sized>(guard: &MutexGuard<'a, T>) -> &'a MovableMutex { &guard.lock.inner } + diff --git a/src/no_std/sync/mutex/tests.rs b/src/no_std/sync/mutex/tests.rs index 3aa80411ba0d14142813bc80ee49f504f4422c42..e32c24cc8bdd1861164e8406ea9f2db596cdde6f 100644 --- a/src/no_std/sync/mutex/tests.rs +++ b/src/no_std/sync/mutex/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 extern crate std; use crate::sync::mutex::Mutex; use crate::thread; @@ -38,3 +40,4 @@ fn lots_and_lots() { } assert_eq!(*m.lock(), J * K * 2); } + diff --git a/src/no_std/sync/once.rs b/src/no_std/sync/once.rs index ccfe02864616e3c2475010e513d831825b6fb13a..16714b601e6fc8899223ad12be2369ead22517ac 100644 --- a/src/no_std/sync/once.rs +++ b/src/no_std/sync/once.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test, not(target_os = "none")))] mod tests; @@ -266,3 +268,4 @@ impl OnceState { self.set_state_on_drop_to.set(ptr::invalid_mut(POISONED)); } } + diff --git a/src/no_std/sync/once/tests.rs b/src/no_std/sync/once/tests.rs index bed344cd24ae8ee4c05a4f152e6517daa05e563a..1811534b09267ab89a8357c340e8e551b921da00 100644 --- a/src/no_std/sync/once/tests.rs +++ b/src/no_std/sync/once/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 extern crate std; use super::Once; use crate::thread; @@ -87,3 +89,4 @@ fn wait_for_force_to_finish() { assert!(t1.join()); assert!(t2.join()); } + diff --git a/src/no_std/sync/parker.rs b/src/no_std/sync/parker.rs index fd6927c9c302855afc8911c01936b14e0e5ae731..978d4a5f6cc2535a6e735d7b88292360ac775512 100644 --- a/src/no_std/sync/parker.rs +++ b/src/no_std/sync/parker.rs @@ -1 +1,4 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 pub use arch::locks::parker::*; + diff --git a/src/no_std/sync/rwlock.rs b/src/no_std/sync/rwlock.rs index 10f82adf6bc688bd469fda61614bd2a9f38e3891..3b9da7e3ea53126472f3f99bb75fe0a04b4af867 100644 --- a/src/no_std/sync/rwlock.rs +++ b/src/no_std/sync/rwlock.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] mod tests; @@ -161,3 +163,4 @@ impl RwLock { self.data.get_mut() } } + diff --git a/src/no_std/sync/rwlock/tests.rs b/src/no_std/sync/rwlock/tests.rs index b3f2a17b9eb7b74cc7fb1192db99b655f71d32e5..756df8b1c5a76f881bad61d3935b08c17211ce73 100644 --- a/src/no_std/sync/rwlock/tests.rs +++ b/src/no_std/sync/rwlock/tests.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use core::mem::{size_of, size_of_val}; use super::RwLock; @@ -37,3 +39,4 @@ fn test_read_lock() { let c = lk.read(); assert_eq!(*c, 256); } + diff --git a/src/no_std/sync/spinlock.rs b/src/no_std/sync/spinlock.rs index 6f169746e28bfc6c872077079cfe72f144d90737..5828b701930db1b95c1c54131de62610f3b0681d 100644 --- a/src/no_std/sync/spinlock.rs +++ b/src/no_std/sync/spinlock.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 use crate::os::CPU_CORE_NUMBERS; use crate::thread::yield_now; use core::{ @@ -72,3 +74,4 @@ impl<'a, T> Drop for SpinlockGuard<'a, T> { self.lock.store(false, Ordering::SeqCst); } } + diff --git a/src/no_std/thread.rs b/src/no_std/thread.rs index 9bc8ba7a9333f51442e844200c9ce76a82219ac1..07a4edaac6cf0b5aaacd8c3dc0430345a1d8bd5a 100644 --- a/src/no_std/thread.rs +++ b/src/no_std/thread.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(all(test, not(target_os = "none")))] mod tests; use crate::io::Result; @@ -143,3 +145,4 @@ impl JoinHandle { Arc::strong_count(&self.0.packet) == 1 } } + diff --git a/src/std/io/error.rs b/src/std/io/error.rs index d84763a4e4213a3850e7d5b86c800723c02cb4fa..6c001dfd87c86ab07b3bcafcdd55af11bfb72a63 100644 --- a/src/std/io/error.rs +++ b/src/std/io/error.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] #[path = "../../no_std/io/error/tests.rs"] mod tests; @@ -65,3 +67,4 @@ impl From for imp { e.into_raw() } } + diff --git a/src/std/io/mod.rs b/src/std/io/mod.rs index 7edf3bf209347f54a6a4fbd2d0a298fa16564c08..a5b239521be33cfa68814a67fddaecbe4c40c88a 100644 --- a/src/std/io/mod.rs +++ b/src/std/io/mod.rs @@ -1,2 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 mod error; pub use error::*; + diff --git a/src/std/mod.rs b/src/std/mod.rs index 1e66ca540f537140985cf223bcbcc5b05f4791d5..b9d5a0f2eb09a4091b8c725651aff50bc8a06cba 100644 --- a/src/std/mod.rs +++ b/src/std/mod.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[macro_export] macro_rules! println { () => { @@ -31,3 +33,4 @@ pub mod sync; pub mod thread; pub use std::error; pub use std::lazy; + diff --git a/src/std/sync/condvar.rs b/src/std/sync/condvar.rs index b22a1e5016e43c73393160726e6d15b649cf056a..36bea6fd36ba1332f06ba92fdb2b27790615e7d0 100644 --- a/src/std/sync/condvar.rs +++ b/src/std/sync/condvar.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] #[path = "../../no_std/sync/condvar/tests.rs"] mod tests; @@ -68,3 +70,4 @@ impl Condvar { self.0.notify_all(); } } + diff --git a/src/std/sync/mod.rs b/src/std/sync/mod.rs index 00d0b9ca5b17aff6976c62bcc8dcafbcedb4d086..ab1f35504c7905a40666ef078c2586931a227eb4 100644 --- a/src/std/sync/mod.rs +++ b/src/std/sync/mod.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 mod condvar; mod mutex; pub use condvar::*; @@ -9,3 +11,4 @@ mod spinlock; pub use spinlock::*; pub mod parker; pub use std::sync::{Once, OnceState}; + diff --git a/src/std/sync/mutex.rs b/src/std/sync/mutex.rs index 346e6c630073bb187565be116d11d95a7fa4c86c..d74836e366b56a82433763777044c153d7df88f2 100644 --- a/src/std/sync/mutex.rs +++ b/src/std/sync/mutex.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] #[path = "../../no_std/sync/mutex/tests.rs"] mod tests; @@ -35,3 +37,4 @@ impl Mutex { unsafe { self.0.get_mut().unwrap_unchecked() } } } + diff --git a/src/std/sync/rwlock.rs b/src/std/sync/rwlock.rs index 80688489d8991e1bc30d46e27354a45c78733ebc..0c93001490598a825b41b03709d68902f3f9bdfb 100644 --- a/src/std/sync/rwlock.rs +++ b/src/std/sync/rwlock.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] #[path = "../../no_std/sync/rwlock/tests.rs"] mod tests; @@ -38,3 +40,4 @@ impl RwLock { unsafe { self.0.get_mut().unwrap_unchecked() } } } + diff --git a/src/std/thread.rs b/src/std/thread.rs index 7091f1d08b68adcda533132ace116428e8f2f186..63b0cdca6c20186849b3f10817d91265c372264f 100644 --- a/src/std/thread.rs +++ b/src/std/thread.rs @@ -1,3 +1,5 @@ +// Copyright (C) 2022-2022 Agilor Co.,Ltd. All rights reserved. +// SPDX-License-Identifier: Apache-2.0 #[cfg(test)] #[path = "../no_std/thread/tests.rs"] mod tests; @@ -80,3 +82,4 @@ impl Builder { core::mem::transmute(rtn) } } +