Skip to content

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

Description

@0xckruger

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions