Skip to content

Commit

Permalink
rust: alloc: add missing SPDX-License-Identifiers
Browse files Browse the repository at this point in the history
These should have been there in the last `alloc` version upgrade.

Signed-off-by: Miguel Ojeda <[email protected]>
  • Loading branch information
ojeda committed Aug 1, 2022
1 parent 10664d3 commit 0473a8d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rust/alloc/boxed/thin.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT

// Based on
// https://github.com/matthieu-m/rfc2580/blob/b58d1d3cba0d4b5e859d3617ea2d0943aaa31329/examples/thin.rs
// by matthieu-m
Expand Down
2 changes: 2 additions & 0 deletions rust/alloc/ffi/c_str.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT

#[cfg(test)]
mod tests;

Expand Down
2 changes: 2 additions & 0 deletions rust/alloc/ffi/mod.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0 OR MIT

//! Utilities related to FFI bindings.
//!
//! This module provides utilities to handle data across non-Rust
Expand Down

0 comments on commit 0473a8d

Please sign in to comment.