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

ch11: ch11-fledge-os-2 unexpected package.metadata.bootimage key default-target #116

Open
0xckruger opened this issue Apr 23, 2024 · 0 comments

Comments

@0xckruger
Copy link

0xckruger commented Apr 23, 2024

It seems ch11's 3rd example has a configuration setting that is different from the other examples and causes it to not compile with:

Error: Failed to read bootimage configuration

Caused by:
    unexpected `package.metadata.bootimage` key `default-target` with value `"fledge.json"`
[package.metadata.bootimage]
default-target = "fledge.json"

Should be replaced by

[package.metadata.bootimage]
build-command = ["build"]

run-command = ["qemu-system-x86_64", "-drive", "format=raw,file={}"]

It should also be mentioned that #88 is relevant for all(?) the examples in this chapter; on the most recent version of Rust (1.79) this downgrade fix works (for me) without having to pin the nightly version.

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