Cleanup stuff forgotten earlier
parent
cd5b9f56b8
commit
d93e790a83
@ -1,5 +0,0 @@
|
||||
[package]
|
||||
name = "patches"
|
||||
version = "0.1.0"
|
||||
authors = ["Andre Richter <andre.o.richter@gmail.com>"]
|
||||
edition = "2018"
|
@ -1,24 +0,0 @@
|
||||
// SPDX-License-Identifier: MIT OR Apache-2.0
|
||||
//
|
||||
// Copyright (c) 2019-2020 Andre Richter <andre.o.richter@gmail.com>
|
||||
|
||||
//! Fix for register-rs.
|
||||
//!
|
||||
//! Used temporarily until https://github.com/tock/tock/issues/1482 is resolved.
|
||||
|
||||
#![no_std]
|
||||
|
||||
/// A temporary overwrite for tock's register_structs! so that it does not emit `#[test]` attributes.
|
||||
#[macro_export]
|
||||
macro_rules! register_structs {
|
||||
{
|
||||
$(
|
||||
$(#[$attr:meta])*
|
||||
$name:ident {
|
||||
$( $fields:tt )*
|
||||
}
|
||||
),*
|
||||
} => {
|
||||
$( register_fields!(@root $(#[$attr])* $name { $($fields)* } ); )*
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue