Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 2 additions & 9 deletions .cargo/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,6 @@
# there (`.claude/agents/implementer.md`, "A fork").
include = [{ path = "local.toml", optional = true }]

# `p384`'s field and scalar arithmetic in its own `bignum` backend, here and in
# the ToyOS tables, whose flags replace these: its default is fiat-crypto, which
# ToyOS takes as a dependency of no kind. Only russh reaches `p384` 0.14
# (`system/sshserver`, on the host and the guest), and this goes with it.
[build]
rustflags = ["--cfg=p384_backend=\"bignum\""]

[target.x86_64-unknown-none]
rustflags = ["-Dwarnings", "-Cforce-frame-pointers=yes"]

Expand Down Expand Up @@ -41,10 +34,10 @@ rustflags = ["-Dwarnings", "-Cforce-frame-pointers=yes", "-Clink-arg=/Brepro", "
rustflags = ["-Dwarnings", "-Cforce-frame-pointers=yes", "-Clink-arg=/Brepro", "-Clink-arg=/DEBUG:NONE"]

[target.x86_64-unknown-toyos]
rustflags = ["-Dwarnings", "--cfg=p384_backend=\"bignum\""]
rustflags = ["-Dwarnings"]

[target.aarch64-unknown-toyos]
rustflags = ["-Dwarnings", "--cfg=p384_backend=\"bignum\""]
rustflags = ["-Dwarnings"]

# `tests/guest/osbench`'s Linux build, static so a bench runs it without a
# toolchain, linked by the toolchain's own LLD so no C toolchain is needed, and
Expand Down
Loading