vesper/targets
Berkus Decker 072e0a05aa Add rust skeleton code and build system
* panic_fmt lang-item
* arch-based crates, inspired by Redox
* Port over target files from Robigalia, add aarch64
* Use rlibc for memset/memcpy
* Create linker script for raspberry pi 3
* Implement primitive dmb()
* Important: initialize stack pointer!

Kernel interface is to be defined in a separate crate.
2019-01-15 02:18:52 +02:00
..
README.md Add rust skeleton code and build system 2019-01-15 02:18:52 +02:00
aarch64-vesper-metta.json Add rust skeleton code and build system 2019-01-15 02:18:52 +02:00
arm-vesper-metta.json Add rust skeleton code and build system 2019-01-15 02:18:52 +02:00
i686-vesper-metta.json Add rust skeleton code and build system 2019-01-15 02:18:52 +02:00
x86_64-vesper-metta.json Add rust skeleton code and build system 2019-01-15 02:18:52 +02:00

README.md

@todo - factor it out into separate repo @todo - "panic-strategy": "abort" is ok for baremetal, but not for -metta, right?

vesper-targets

These are target specifications suitable for cross-compiling Rust crates for Vesper. Set your RUST_TARGET_PATH to point to this directory.

These are very much based on Robigalia's sel4-targets.

Status

Complete for aarch64. Untested for anything else.

Generating target specifications:

See description in rust docs.

To generate a target specification json template, run

rustc +nightly -Z unstable-options --target=wasm32-unknown-unknown --print target-spec-json