diff options
| author | bors <bors@rust-lang.org> | 2024-04-11 11:21:44 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-04-11 11:21:44 +0000 |
| commit | 62cffeedcf353d8d5bd78cff9898c3def3e3cb84 (patch) | |
| tree | 70b732be5a22d9be6adf7a4a83fb1ab3b1c0efcc /compiler/rustc_codegen_cranelift/.github | |
| parent | 241fc135fc706cb8adf487b288d7944f5faeb084 (diff) | |
| parent | 2ab4334a9601ecb2e47fe5a90ec985fe745a2a23 (diff) | |
Auto merge of #123785 - bjorn3:sync_cg_clif-2024-04-11, r=bjorn3
Subtree sync for rustc_codegen_cranelift This fixes an ICE for unreachable blocks. r? `@ghost` `@rustbot` label +A-codegen +A-cranelift +T-compiler
Diffstat (limited to 'compiler/rustc_codegen_cranelift/.github')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/.github/actions/github-release/main.js | 4 | ||||
| -rw-r--r-- | compiler/rustc_codegen_cranelift/.github/workflows/main.yml | 3 |
2 files changed, 5 insertions, 2 deletions
diff --git a/compiler/rustc_codegen_cranelift/.github/actions/github-release/main.js b/compiler/rustc_codegen_cranelift/.github/actions/github-release/main.js index 6fcfca34ea7..1eb2b7f23b2 100644 --- a/compiler/rustc_codegen_cranelift/.github/actions/github-release/main.js +++ b/compiler/rustc_codegen_cranelift/.github/actions/github-release/main.js @@ -56,7 +56,7 @@ async function runOnce() { force: true, }); } catch (e) { - console.log("ERROR: ", JSON.stringify(e.data, null, 2)); + console.log("ERROR: ", JSON.stringify(e.response, null, 2)); core.info(`creating dev tag`); try { await octokit.rest.git.createRef({ @@ -68,7 +68,7 @@ async function runOnce() { } catch (e) { // we might race with others, so assume someone else has created the // tag by this point. - console.log("failed to create tag: ", JSON.stringify(e.data, null, 2)); + console.log("failed to create tag: ", JSON.stringify(e.response, null, 2)); } } diff --git a/compiler/rustc_codegen_cranelift/.github/workflows/main.yml b/compiler/rustc_codegen_cranelift/.github/workflows/main.yml index 913a5c5a850..14aa850ff5c 100644 --- a/compiler/rustc_codegen_cranelift/.github/workflows/main.yml +++ b/compiler/rustc_codegen_cranelift/.github/workflows/main.yml @@ -268,6 +268,9 @@ jobs: if: ${{ github.ref == 'refs/heads/master' }} needs: [rustfmt, test, bench, dist] + permissions: + contents: write # for creating the dev tag and release + concurrency: group: release-dev cancel-in-progress: true |
