aboutsummaryrefslogtreecommitdiff
path: root/examples/cfg-whole-task.rs
diff options
context:
space:
mode:
authorGravatar bors[bot] <26634292+bors[bot]@users.noreply.github.com> 2021-11-03 08:45:53 +0000
committerGravatar GitHub <noreply@github.com> 2021-11-03 08:45:53 +0000
commit7155b55ac8ff4e5f8860bd6f81c39d31756af633 (patch)
tree82d4de23a49ece531207b2ac065e371bb9fd20f1 /examples/cfg-whole-task.rs
parentb25d775771f7ecc4fdfc5a2faaeb52e63cc344c9 (diff)
parent9e24fcbbd90609a25b9d985f9292900b476fe5ea (diff)
downloadrtic-7155b55ac8ff4e5f8860bd6f81c39d31756af633.tar.gz
rtic-7155b55ac8ff4e5f8860bd6f81c39d31756af633.tar.zst
rtic-7155b55ac8ff4e5f8860bd6f81c39d31756af633.zip
Merge #548
548: Fixed aliasing issue due to RacyCell implementation r=perlindgren a=korken89 Co-authored-by: Emil Fresk <emil.fresk@gmail.com> Co-authored-by: Per Lindgren <per.lindgren@ltu.se>
Diffstat (limited to 'examples/cfg-whole-task.rs')
-rw-r--r--examples/cfg-whole-task.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/examples/cfg-whole-task.rs b/examples/cfg-whole-task.rs
index 213fe13f..f41866db 100644
--- a/examples/cfg-whole-task.rs
+++ b/examples/cfg-whole-task.rs
@@ -15,7 +15,6 @@ mod app {
#[shared]
struct Shared {
- #[cfg(debug_assertions)] // <- `true` when using the `dev` profile
count: u32,
#[cfg(never)]
unused: u32,
@@ -31,7 +30,6 @@ mod app {
(
Shared {
- #[cfg(debug_assertions)]
count: 0,
#[cfg(never)]
unused: 1,