Update compile tests (temporary set TRYBUILD=overwrite)
This commit is contained in:
parent
a52135b62d
commit
c8a7aa947c
|
@ -68,8 +68,8 @@ jobs:
|
||||||
- name: Run compile tests (macos lua53)
|
- name: Run compile tests (macos lua53)
|
||||||
if: ${{ matrix.os == 'macos-latest' && matrix.lua == 'lua53' }}
|
if: ${{ matrix.os == 'macos-latest' && matrix.lua == 'lua53' }}
|
||||||
run: |
|
run: |
|
||||||
cargo test --release --features "${{ matrix.lua }} vendored" -- --ignored
|
TRYBUILD=overwrite cargo test --release --features "${{ matrix.lua }} vendored" -- --ignored
|
||||||
cargo test --release --features "${{ matrix.lua }} vendored async send" -- --ignored
|
TRYBUILD=overwrite cargo test --release --features "${{ matrix.lua }} vendored async send" -- --ignored
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
test_luajit_macos:
|
test_luajit_macos:
|
||||||
|
|
|
@ -4,7 +4,7 @@ error[E0277]: the type `std::cell::UnsafeCell<()>` may contain interior mutabili
|
||||||
7 | catch_unwind(|| lua.create_table().unwrap());
|
7 | catch_unwind(|| lua.create_table().unwrap());
|
||||||
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
|
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
|
||||||
|
|
|
|
||||||
::: $RUST/src/libstd/panic.rs
|
::: $RUST/std/src/panic.rs
|
||||||
|
|
|
|
||||||
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
|
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
|
||||||
| ---------- required by this bound in `std::panic::catch_unwind`
|
| ---------- required by this bound in `std::panic::catch_unwind`
|
||||||
|
|
|
@ -4,7 +4,7 @@ error[E0277]: the type `std::cell::UnsafeCell<()>` may contain interior mutabili
|
||||||
8 | catch_unwind(move || table.set("a", "b").unwrap());
|
8 | catch_unwind(move || table.set("a", "b").unwrap());
|
||||||
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
|
| ^^^^^^^^^^^^ `std::cell::UnsafeCell<()>` may contain interior mutability and a reference may not be safely transferrable across a catch_unwind boundary
|
||||||
|
|
|
|
||||||
::: $RUST/src/libstd/panic.rs
|
::: $RUST/std/src/panic.rs
|
||||||
|
|
|
|
||||||
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
|
| pub fn catch_unwind<F: FnOnce() -> R + UnwindSafe, R>(f: F) -> Result<R> {
|
||||||
| ---------- required by this bound in `std::panic::catch_unwind`
|
| ---------- required by this bound in `std::panic::catch_unwind`
|
||||||
|
|
Loading…
Reference in New Issue