fomu-workshop/riscv-rust-blink/Cargo.toml
Sean Cross 0955f4031c riscv-rust-blink: fix compatibility with nightly rust
When using Nightly, the compiler uses inline ASM. However, the ASM
syntax changed (nightly is, after all, unstable).

As a result, dependent crates no longer built.

Furthermore, dependent crates (notably `vexriscv`) changed their
behavior.

This fixes all of that by bumping version numbers as necessary.

Signed-off-by: Sean Cross <sean@xobs.io>
2020-08-04 18:17:36 +08:00

23 lines
579 B
TOML

[package]
name = "riscv-rust-blink"
version = "0.1.0"
authors = ["Tiwalun <dominik.boehi@gmail.com>"]
edition = "2018"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
fomu-pac = { git = "https://github.com/xobs/fomu-pac-rs.git", branch = "use-riscv-crate" }
fomu-rt = "0.0.6"
panic-halt = "0.2"
[profile.release]
# Keep debug information for release builds, for easier debugging.
# It will be removed during the conversion to the .dfu file.
debug = true
# Improve code generation
lto = true
codegen-units = 1