Cleanup stuff forgotten earlier

pull/44/head
Andre Richter 4 years ago
parent cd5b9f56b8
commit d93e790a83
No known key found for this signature in database
GPG Key ID: 2116C1AB102F615E

@ -49,7 +49,7 @@ endif
QEMU_MISSING_STRING = "This board is not yet supported for QEMU."
RUSTFLAGS = -C link-arg=-T$(LINKER_FILE) $(RUSTC_MISC_ARGS)
RUSTFLAGS_PEDANTIC = $(RUSTFLAGS) #-D warnings -D missing_docs
RUSTFLAGS_PEDANTIC = $(RUSTFLAGS) -D warnings -D missing_docs
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

@ -841,8 +841,7 @@ diff -uNr 12_cpu_exceptions_part1/Makefile 13_integrated_testing/Makefile
+QEMU_MISSING_STRING = "This board is not yet supported for QEMU."
+
RUSTFLAGS = -C link-arg=-T$(LINKER_FILE) $(RUSTC_MISC_ARGS)
-RUSTFLAGS_PEDANTIC = $(RUSTFLAGS) -D warnings -D missing_docs
+RUSTFLAGS_PEDANTIC = $(RUSTFLAGS) #-D warnings -D missing_docs
RUSTFLAGS_PEDANTIC = $(RUSTFLAGS) -D warnings -D missing_docs
SOURCES = $(wildcard **/*.rs) $(wildcard **/*.S) $(wildcard **/*.ld)

@ -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…
Cancel
Save