Merge branch 'master' into tracing

This commit is contained in:
ealmloff 2023-09-11 19:43:57 -05:00 committed by GitHub
commit 9ff5d24d42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 12 deletions

View file

@ -29,7 +29,7 @@ jobs:
toolchain: "1.70.0", toolchain: "1.70.0",
} }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install stable - name: Install stable
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master
with: with:

View file

@ -23,7 +23,7 @@ jobs:
- name: Setup mdBook - name: Setup mdBook
run: | run: |
cargo install mdbook --git https://github.com/Demonthos/mdBook.git --branch master cargo install mdbook --git https://github.com/Demonthos/mdBook.git --branch master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: cd docs && run: cd docs &&

View file

@ -28,7 +28,7 @@ jobs:
- name: Setup mdBook - name: Setup mdBook
run: | run: |
cargo install mdbook --git https://github.com/Demonthos/mdBook.git --branch master cargo install mdbook --git https://github.com/Demonthos/mdBook.git --branch master
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Build - name: Build
run: cd docs && run: cd docs &&

View file

@ -41,7 +41,7 @@ jobs:
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- run: sudo apt-get update - run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev - run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: cargo check --all --examples --tests - run: cargo check --all --examples --tests
test: test:
@ -56,7 +56,7 @@ jobs:
- uses: davidB/rust-cargo-make@v1 - uses: davidB/rust-cargo-make@v1
- uses: browser-actions/setup-firefox@latest - uses: browser-actions/setup-firefox@latest
- uses: jetli/wasm-pack-action@v0.4.0 - uses: jetli/wasm-pack-action@v0.4.0
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: cargo make tests - run: cargo make tests
fmt: fmt:
@ -67,7 +67,7 @@ jobs:
- uses: dtolnay/rust-toolchain@stable - uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2 - uses: Swatinem/rust-cache@v2
- run: rustup component add rustfmt - run: rustup component add rustfmt
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: cargo fmt --all -- --check - run: cargo fmt --all -- --check
clippy: clippy:
@ -80,7 +80,7 @@ jobs:
- run: sudo apt-get update - run: sudo apt-get update
- run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev - run: sudo apt install libwebkit2gtk-4.1-dev libgtk-3-dev libayatana-appindicator3-dev
- run: rustup component add clippy - run: rustup component add clippy
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- run: cargo clippy --workspace --examples --tests -- -D warnings - run: cargo clippy --workspace --examples --tests -- -D warnings
matrix_test: matrix_test:
@ -124,7 +124,7 @@ jobs:
} }
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: install stable - name: install stable
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master
@ -154,7 +154,7 @@ jobs:
# options: --security-opt seccomp=unconfined # options: --security-opt seccomp=unconfined
# steps: # steps:
# - name: Checkout repository # - name: Checkout repository
# uses: actions/checkout@v3 # uses: actions/checkout@v4
# - name: Generate code coverage # - name: Generate code coverage
# run: | # run: |
# apt-get update &&\ # apt-get update &&\

View file

@ -69,7 +69,7 @@ jobs:
if: runner.os == 'Linux' if: runner.os == 'Linux'
run: echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_ENV run: echo "MIRIFLAGS=-Zmiri-tag-gc=1" >> $GITHUB_ENV
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Install Rust ${{ env.rust_nightly }} - name: Install Rust ${{ env.rust_nightly }}
uses: dtolnay/rust-toolchain@master uses: dtolnay/rust-toolchain@master
with: with:

View file

@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
# Do our best to cache the toolchain and node install steps # Do our best to cache the toolchain and node install steps
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@v3
with: with:
node-version: 16 node-version: 16

View file

@ -249,7 +249,6 @@ impl WebsysDom {
for id in to_mount { for id in to_mount {
let node = get_node(id.0 as u32); let node = get_node(id.0 as u32);
if let Some(element) = node.dyn_ref::<Element>() { if let Some(element) = node.dyn_ref::<Element>() {
tracing::info!("mounted event fired: {}", id.0);
let data: MountedData = element.into(); let data: MountedData = element.into();
let data = Rc::new(data); let data = Rc::new(data);
let _ = self.event_channel.unbounded_send(UiEvent { let _ = self.event_channel.unbounded_send(UiEvent {