Skip to content

Commit 85ffc8f

Browse files
authored
Switch CI back to nightly channel (#2014)
* Switch CI back to nightly channel I think all upstream issues are now fixed so we should be good to switch back to nightly from our previously pinned version. * Fix doc warnings
1 parent 1000f21 commit 85ffc8f

File tree

6 files changed

+12
-13
lines changed

6 files changed

+12
-13
lines changed

.github/workflows/main.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
submodules: true
5858
- uses: ./.github/actions/install-rust
5959
with:
60-
toolchain: nightly-2020-06-03
60+
toolchain: nightly
6161
- run: cargo doc --no-deps --all --exclude wasmtime-cli --exclude test-programs --exclude cranelift-codegen-meta
6262
- run: cargo doc --package cranelift-codegen-meta --document-private-items
6363
- uses: actions/upload-artifact@v1
@@ -92,7 +92,7 @@ jobs:
9292
submodules: true
9393
- uses: ./.github/actions/install-rust
9494
with:
95-
toolchain: nightly-2020-06-03
95+
toolchain: nightly
9696

9797
# Check some feature combinations of the `wasmtime` crate
9898
- run: cargo check --manifest-path crates/wasmtime/Cargo.toml --no-default-features
@@ -140,7 +140,7 @@ jobs:
140140
submodules: true
141141
- uses: ./.github/actions/install-rust
142142
with:
143-
toolchain: nightly-2020-06-03
143+
toolchain: nightly
144144
- run: cargo install cargo-fuzz --vers "^0.8"
145145
- run: cargo fetch
146146
working-directory: ./fuzz
@@ -190,7 +190,7 @@ jobs:
190190
rust: beta
191191
- build: nightly
192192
os: ubuntu-latest
193-
rust: nightly-2020-06-03
193+
rust: nightly
194194
- build: macos
195195
os: macos-latest
196196
rust: stable

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

cranelift/codegen/src/ir/constant.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ pub type ConstantOffset = u32;
166166
/// function body); because the function is not yet compiled when constants are inserted,
167167
/// [`set_offset`](crate::ir::ConstantPool::set_offset) must be called once a constant's offset
168168
/// from the beginning of the function is known (see
169-
/// [`relaxation.rs`](crate::binemit::relaxation)).
169+
/// `relaxation` in `relaxation.rs`).
170170
#[derive(Clone)]
171171
pub struct ConstantPoolEntry {
172172
data: ConstantData,

cranelift/codegen/src/isa/aarch64/abi.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
//! being adjusted to set up a call, we implement a "nominal SP" tracking
2424
//! feature by which a fixup (distance between actual SP and a "nominal" SP) is
2525
//! known at each instruction. See the documentation for
26-
//! [MemArg::NominalSPOffset] for more on this.
26+
//! `MemArg::NominalSPOffset` for more on this.
2727
//!
2828
//! The stack looks like:
2929
//!

cranelift/filetests/src/function_runner.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use thiserror::Error;
1717
///
1818
/// Several Cranelift functions need the ability to run Cranelift IR (e.g. `test_run`); this
1919
/// [SingleFunctionCompiler] provides a way for compiling Cranelift [Function]s to
20-
/// [CompiledFunction]s and subsequently calling them through the use of a [Trampoline]. As its
20+
/// `CompiledFunction`s and subsequently calling them through the use of a `Trampoline`. As its
2121
/// name indicates, this compiler is limited: any functionality that requires knowledge of things
2222
/// outside the [Function] will likely not work (e.g. global values, calls). For an example of this
2323
/// "outside-of-function" functionality, see `cranelift_simplejit::backend::SimpleJITBackend`.
@@ -60,10 +60,10 @@ impl SingleFunctionCompiler {
6060
Self::with_host_isa(flags)
6161
}
6262

63-
/// Compile the passed [Function] to a [CompiledFunction]. This function will:
63+
/// Compile the passed [Function] to a `CompiledFunction`. This function will:
6464
/// - check that the default ISA calling convention is used (to ensure it can be called)
6565
/// - compile the [Function]
66-
/// - compile a [Trampoline] for the [Function]'s signature (or used a cached [Trampoline];
66+
/// - compile a `Trampoline` for the [Function]'s signature (or used a cached `Trampoline`;
6767
/// this makes it possible to call functions when the signature is not known until runtime.
6868
pub fn compile(&mut self, function: Function) -> Result<CompiledFunction, CompilationError> {
6969
let signature = function.signature.clone();

cranelift/reader/src/run_command.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ use thiserror::Error;
1414

1515
/// A run command appearing in a test file.
1616
///
17-
/// For parsing, see
18-
/// [Parser::parse_run_command](crate::parser::Parser::parse_run_command).
17+
/// For parsing, see `Parser::parse_run_command`
1918
#[derive(PartialEq, Debug)]
2019
pub enum RunCommand {
2120
/// Invoke a function and print its result.

0 commit comments

Comments
 (0)