Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to run the examples? #98

Open
neoneye opened this issue Jun 12, 2023 · 0 comments
Open

How to run the examples? #98

neoneye opened this issue Jun 12, 2023 · 0 comments

Comments

@neoneye
Copy link

neoneye commented Jun 12, 2023

First of all, I really appreciate what you are doing.

Problem

The readme describes how to run the examples.

There is a firmware/examples dir. I wonder if these are the examples that the readme is referring to? How do I run these examples?

I'm getting the same error as in #91

PROMPT> cargo +nightly call-stack --example app > cg.dot     
error: -Zbuild-std requires --target

I don't see any examples named app nor main.

I guess the way to use the examples are like this, but I'm getting the error: -Zbuild-std requires --target error.

PROMPT> pwd
/home/experiments/cargo-call-stack/firmware
PROMPT> cargo +nightly call-stack --example abs-i32 > cg.dot
error: -Zbuild-std requires --target

Proposal

Show how to run one of the example programs in greater detail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant