Add explicit 'static
in todos
for Rust 1.80
#2089
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check | |
on: [push, pull_request] | |
jobs: | |
wasm: | |
runs-on: ubuntu-latest | |
env: | |
RUSTFLAGS: --cfg=web_sys_unstable_apis | |
steps: | |
- uses: hecrj/setup-rust-action@v2 | |
with: | |
rust-version: stable | |
targets: wasm32-unknown-unknown | |
- uses: actions/checkout@master | |
- name: Run checks | |
run: cargo check --package iced --target wasm32-unknown-unknown | |
- name: Check compilation of `tour` example | |
run: cargo build --package tour --target wasm32-unknown-unknown | |
- name: Check compilation of `todos` example | |
run: cargo build --package todos --target wasm32-unknown-unknown | |
widget: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: hecrj/setup-rust-action@v2 | |
- uses: actions/checkout@master | |
- name: Check standalone `iced_widget` crate | |
run: cargo check --package iced_widget --features image,svg,canvas |