Parcourir la source

Merge #50

50: Update MSRV, release v0.6.0 r=almindor a=Disasm



Co-authored-by: Vadim Kaushan <admin@disasm.info>
bors[bot] il y a 4 ans
Parent
commit
3b8b0ad3c0
5 fichiers modifiés avec 14 ajouts et 17 suppressions
  1. 4 9
      .travis.yml
  2. 6 2
      CHANGELOG.md
  3. 1 1
      Cargo.toml
  4. 2 2
      README.md
  5. 1 3
      src/lib.rs

+ 4 - 9
.travis.yml

@@ -3,26 +3,21 @@ language: rust
 env:
   - TARGET=x86_64-unknown-linux-gnu
   - TARGET=riscv32imac-unknown-none-elf
+  - TARGET=riscv64imac-unknown-none-elf
+  - TARGET=riscv64gc-unknown-none-elf
 
 rust:
   - nightly
   - stable
-  - 1.31.0 # MSRV
+  - 1.42.0 # MSRV
 
 if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
 
 matrix:
   allow_failures:
     - rust: nightly
-  include:
-    - env: TARGET=riscv64imac-unknown-none-elf
-      rust: nightly
-      if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
-
-    - env: TARGET=riscv64gc-unknown-none-elf
-      rust: nightly
-      if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
 
+  include:
     - env: CHECK_BLOBS=1
       rust:
       language: bash

+ 6 - 2
CHANGELOG.md

@@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 
 ## [Unreleased]
 
+## [v0.6.0] - 2020-06-20
+
 ### Changed
 
-- Updated Minimum Supported Rust Version to 1.31.0
+- `Mtvec::trap_mode()` not returns `Option<TrapMode>` (breaking change)
+- Updated Minimum Supported Rust Version to 1.42.0
 - Use `llvm_asm!` instead of `asm!`
 
 ### Removed
@@ -36,6 +39,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 
 - Fixed MSRV by restricting the upper bound of `bare-metal` version
 
-[Unreleased]: https://github.com/rust-embedded/riscv/compare/v0.5.6...HEAD
+[Unreleased]: https://github.com/rust-embedded/riscv/compare/v0.6.0...HEAD
+[v0.6.0]: https://github.com/rust-embedded/riscv/compare/v0.5.6...v0.6.0
 [v0.5.6]: https://github.com/rust-embedded/riscv/compare/v0.5.5...v0.5.6
 [v0.5.5]: https://github.com/rust-embedded/riscv/compare/v0.5.4...v0.5.5

+ 1 - 1
Cargo.toml

@@ -1,6 +1,6 @@
 [package]
 name = "riscv"
-version = "0.5.6"
+version = "0.6.0"
 repository = "https://github.com/rust-embedded/riscv"
 authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
 categories = ["embedded", "hardware-support", "no-std"]

+ 2 - 2
README.md

@@ -12,12 +12,12 @@ This project is developed and maintained by the [RISC-V team][team].
 
 ## Minimum Supported Rust Version (MSRV)
 
-This crate is guaranteed to compile on stable Rust 1.31.0 and up. It *might*
+This crate is guaranteed to compile on stable Rust 1.42.0 and up. It *might*
 compile with older versions but that may change in any new patch release.
 
 ## License
 
-Copyright 2019 [RISC-V team][team]
+Copyright 2019-2020 [RISC-V team][team]
 
 Permission to use, copy, modify, and/or distribute this software for any purpose
 with or without fee is hereby granted, provided that the above copyright notice

+ 1 - 3
src/lib.rs

@@ -2,10 +2,8 @@
 //!
 //! # Minimum Supported Rust Version (MSRV)
 //!
-//! This crate is guaranteed to compile on stable Rust 1.31 and up. It *might*
+//! This crate is guaranteed to compile on stable Rust 1.42 and up. It *might*
 //! compile with older versions but that may change in any new patch release.
-//! Note that `riscv64imac-unknown-none-elf` and `riscv64gc-unknown-none-elf` targets
-//! are not supported on stable yet.
 //!
 //! # Features
 //!