aboutsummaryrefslogtreecommitdiff
path: root/.cargo
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-09-21 13:00:12 +0000
committerGitHub <noreply@github.com>2021-09-21 13:00:12 +0000
commitc8621d78b9b1c0c67dff31404ade873a9d7b426e (patch)
treea958fa60fbeafedb7d8578c47fcaf506722e316f /.cargo
parentbf9df9fe73e9c1442a7a31ae93a91e7a8288f6f3 (diff)
parent7f45254e3939af5aa940c65e52c63fa83b93c16d (diff)
Merge #526
526: implement run-pass tests as xtasks r=korken89 a=Lotterleben resolves https://github.com/rtic-rs/cortex-m-rtic/issues/499 . With this PR, you should be able to run `cargo xtask --target <desired target>` or `cargo xtask --target all` locally. Of course, it also reconfigures the CI workflow to do the same. Note that I've translated the old `Run-pass tests` verbatim for now, which means the code includes checks for a `"types"`example which doesn't exist anymore. The examples could be collected much more nicely to prevent leftovers like this in the future, but imo that could also be achieved in a separate PR. Co-authored-by: Lotte Steenbrink <lotte.steenbrink@ferrous-systems.com>
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config3
1 files changed, 3 insertions, 0 deletions
diff --git a/.cargo/config b/.cargo/config
index d095766..d70faef 100644
--- a/.cargo/config
+++ b/.cargo/config
@@ -1,3 +1,6 @@
+[alias]
+xtask = "run --package xtask --"
+
[target.thumbv6m-none-eabi]
runner = "qemu-system-arm -cpu cortex-m3 -machine lm3s6965evb -nographic -semihosting-config enable=on,target=native -kernel"