浏览代码

Merge #50

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



Co-authored-by: Vadim Kaushan <admin@disasm.info>
bors[bot] 4 年之前
父节点
当前提交
3b8b0ad3c0
共有 5 个文件被更改,包括 14 次插入17 次删除
  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:
 env:
   - TARGET=x86_64-unknown-linux-gnu
   - TARGET=x86_64-unknown-linux-gnu
   - TARGET=riscv32imac-unknown-none-elf
   - TARGET=riscv32imac-unknown-none-elf
+  - TARGET=riscv64imac-unknown-none-elf
+  - TARGET=riscv64gc-unknown-none-elf
 
 
 rust:
 rust:
   - nightly
   - nightly
   - stable
   - 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)
 if: (branch = staging OR branch = trying OR branch = master) OR (type = pull_request AND branch = master)
 
 
 matrix:
 matrix:
   allow_failures:
   allow_failures:
     - rust: nightly
     - 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
     - env: CHECK_BLOBS=1
       rust:
       rust:
       language: bash
       language: bash

+ 6 - 2
CHANGELOG.md

@@ -7,9 +7,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
 
 
 ## [Unreleased]
 ## [Unreleased]
 
 
+## [v0.6.0] - 2020-06-20
+
 ### Changed
 ### 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!`
 - Use `llvm_asm!` instead of `asm!`
 
 
 ### Removed
 ### 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
 - 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.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
 [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]
 [package]
 name = "riscv"
 name = "riscv"
-version = "0.5.6"
+version = "0.6.0"
 repository = "https://github.com/rust-embedded/riscv"
 repository = "https://github.com/rust-embedded/riscv"
 authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
 authors = ["The RISC-V Team <risc-v@teams.rust-embedded.org>"]
 categories = ["embedded", "hardware-support", "no-std"]
 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)
 ## 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.
 compile with older versions but that may change in any new patch release.
 
 
 ## License
 ## 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
 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
 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)
 //! # 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.
 //! 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
 //! # Features
 //!
 //!