garage44.eu/jeroen/pinnacle

logclone: git clone https://garage44.eu/jeroen/pinnacle.git

.. /.cargo/config.toml

raw

[alias]
xtask = "run --quiet --package xtask --"

# The RK3399S pairs two Cortex-A72s with four Cortex-A53s. Code scheduled for
# the in-order A53 costs the out-of-order A72 little, and the reverse is not
# true; the A53's instruction set is the one both share.
[target.aarch64-unknown-none]
rustflags = ["-C", "target-cpu=cortex-a53"]

[target.aarch64-unknown-none-softfloat]
rustflags = ["-C", "target-cpu=cortex-a53"]

# The PC's kernel runs in the top 2 GiB, where the kernel code model puts
# it, linked as a plain executable a PVH loader places as it is.
[target.x86_64-unknown-none]
rustflags = ["-C", "code-model=kernel", "-C", "relocation-model=static"]