From de76da4899364a75782bb26f4491afefee53b88b Mon Sep 17 00:00:00 2001 From: Brad Gibson Date: Wed, 30 Jan 2019 06:48:27 -0800 Subject: [PATCH] no app-*.o files were found in my target/debug... folder. I am on rustc 1.32.0 on Ubuntu 18.04; updated instructions to remove .o; note output was also not as shown--corrected as well. --- src/smallest-no-std.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/smallest-no-std.md b/src/smallest-no-std.md index 0c7f7a4..cffa7ae 100644 --- a/src/smallest-no-std.md +++ b/src/smallest-no-std.md @@ -83,9 +83,15 @@ Before linking the crate does contain the panicking symbol. ``` console $ cargo rustc --target thumbv7m-none-eabi -- --emit=obj -$ cargo nm -- target/thumbv7m-none-eabi/debug/deps/app-*.o | grep '[0-9]* [^n] ' +$ cargo nm -- target/thumbv7m-none-eabi/debug/deps/app-* | grep '[0-9]* [^n] ' ``` +Depending on how many times you have built, you may see the following 1 or more times: +``` console +00000004 R RESET_VECTOR +00000008 T Reset +``` +Note: as opposed to: ``` text {{#include ../ci/smallest-no-std/app.o.nm}} ```