Skip to content

Commit a742796

Browse files
committed
Updated MSRV for param attrs usage
1 parent 3f149c7 commit a742796

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

.travis.yml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ matrix:
6060
packages:
6161
- *BASE_PACKAGES
6262
- llvm-3.6-dev
63-
rust: 1.38.0
63+
rust: 1.39.0
6464
dist: trusty
6565
- env:
6666
- LLVM_VERSION="3.7"
@@ -73,7 +73,7 @@ matrix:
7373
packages:
7474
- *BASE_PACKAGES
7575
- llvm-3.7-dev
76-
rust: 1.38.0
76+
rust: 1.39.0
7777
dist: trusty
7878
- env:
7979
- LLVM_VERSION="3.8"
@@ -86,7 +86,7 @@ matrix:
8686
packages:
8787
- *BASE_PACKAGES
8888
- llvm-3.8-dev
89-
rust: 1.38.0
89+
rust: 1.39.0
9090
dist: trusty
9191
# 3.9 seems to have a linking issue :/
9292
# - env:
@@ -100,7 +100,7 @@ matrix:
100100
# packages:
101101
# - *BASE_PACKAGES
102102
# - llvm-3.9-dev
103-
# rust: 1.38.0
103+
# rust: 1.39.0
104104
# dist: trusty
105105
- env:
106106
- LLVM_VERSION="4.0"
@@ -113,7 +113,7 @@ matrix:
113113
packages:
114114
- *BASE_PACKAGES
115115
- llvm-4.0-dev
116-
rust: 1.38.0
116+
rust: 1.39.0
117117
dist: trusty
118118
- env:
119119
- LLVM_VERSION="5.0"
@@ -126,7 +126,7 @@ matrix:
126126
packages:
127127
- *BASE_PACKAGES
128128
- llvm-5.0-dev
129-
rust: 1.38.0
129+
rust: 1.39.0
130130
dist: trusty
131131
- env:
132132
- LLVM_VERSION="6.0"
@@ -139,7 +139,7 @@ matrix:
139139
packages:
140140
- *BASE_PACKAGES
141141
- llvm-6.0-dev
142-
rust: 1.38.0
142+
rust: 1.39.0
143143
dist: trusty
144144
- env:
145145
- LLVM_VERSION="7.0"
@@ -152,7 +152,7 @@ matrix:
152152
packages:
153153
- *BASE_PACKAGES
154154
- llvm-7-dev
155-
rust: 1.38.0
155+
rust: 1.39.0
156156
dist: trusty
157157
- env:
158158
- LLVM_VERSION="8.0"
@@ -165,7 +165,7 @@ matrix:
165165
packages:
166166
- *BASE_PACKAGES
167167
- llvm-8-dev
168-
rust: 1.38.0
168+
rust: 1.39.0
169169
dist: trusty
170170
- env:
171171
- LLVM_VERSION="9.0"
@@ -180,7 +180,7 @@ matrix:
180180
packages:
181181
- *BASE_PACKAGES
182182
- llvm-9-dev
183-
rust: 1.38.0
183+
rust: 1.39.0
184184
dist: bionic
185185
- env:
186186
- LLVM_VERSION="10.0"
@@ -195,7 +195,7 @@ matrix:
195195
packages:
196196
- *BASE_PACKAGES
197197
- llvm-10-dev
198-
rust: 1.38.0
198+
rust: 1.39.0
199199
dist: bionic
200200
- deploy: # Documentation build; Only latest supported LLVM version for now
201201
provider: pages
@@ -250,7 +250,7 @@ env:
250250
- RUSTFLAGS="-C link-dead-code -C target-cpu=native -l ffi"
251251

252252
after_success: |
253-
if [[ "$TRAVIS_RUST_VERSION" == 1.38.0 ]]; then
253+
if [[ "$TRAVIS_RUST_VERSION" == 1.39.0 ]]; then
254254
cargo tarpaulin --features "llvm${LLVM_VERSION_DASH}" --out Xml
255255
bash <(curl -s https://codecov.io/bash)
256256
fi

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
[![codecov](https://codecov.io/gh/TheDan64/inkwell/branch/master/graph/badge.svg)](https://codecov.io/gh/TheDan64/inkwell)
66
[![lines of code](https://tokei.rs/b1/github/TheDan64/inkwell)](https://github.com/Aaronepower/tokei)
77
[![Join the chat at https://gitter.im/inkwell-rs/Lobby](https://badges.gitter.im/inkwell-rs/Lobby.svg)](https://gitter.im/inkwell-rs/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
8-
![Minimum rustc 1.36](https://img.shields.io/badge/rustc-1.36+-brightgreen.svg)
8+
![Minimum rustc 1.39](https://img.shields.io/badge/rustc-1.39+-brightgreen.svg)
99

1010
**I**t's a **N**ew **K**ind of **W**rapper for **E**xposing **LL**VM (*S*afely)
1111

1212
Inkwell aims to help you pen your own programming languages by safely wrapping llvm-sys. It provides a more strongly typed interface than the underlying LLVM API so that certain types of errors can be caught at compile time instead of at LLVM's runtime. This means we are trying to replicate LLVM IR's strong typing as closely as possible. The ultimate goal is to make LLVM safer from the rust end and a bit easier to learn (via documentation) and use.
1313

1414
## Requirements
1515

16-
* Rust 1.36+
16+
* Rust 1.39+
1717
* Rust Stable, Beta, or Nightly
1818
* LLVM 3.6, 3.7, 3.8, 3.9, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0, or 10.0
1919

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ pub enum OptimizationLevel {
310310
None = 0,
311311
Less = 1,
312312
Default = 2,
313-
Aggressive = 3
313+
Aggressive = 3,
314314
}
315315

316316
impl Default for OptimizationLevel {

0 commit comments

Comments
 (0)