From 3f5f52c2d64dcff81d62bf096d74f5118e8c7e1f Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Sat, 7 Oct 2023 14:13:44 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=93=9D=20zb:=20Drop=20unneeded=20expl?= =?UTF-8?q?icit=20link=20target?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Otherwise rustdoc gives an warning: ``` --> zbus/src/fdo.rs:115:20 | 115 | /// [ObjectServer](crate::ObjectServer). | ------------ ^^^^^^^^^^^^^^^^^^^ explicit target is redundant | | | because label contains path that resolves to same destination | = note: when a link's destination is not specified, the label is used to resolve intra-doc links = note: `-D rustdoc::redundant-explicit-links` implied by `-D warnings` help: remove explicit link target | 115 | /// [ObjectServer]. | ~~~~~~~~~~~~~~ error: could not document `zbus` ``` --- zbus/src/fdo.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zbus/src/fdo.rs b/zbus/src/fdo.rs index 7f3d4c03f..45907cd57 100644 --- a/zbus/src/fdo.rs +++ b/zbus/src/fdo.rs @@ -112,7 +112,7 @@ assert_impl_all!(PropertiesProxy<'_>: Send, Sync, Unpin); /// Server-side implementation for the `org.freedesktop.DBus.Properties` interface. /// This interface is implemented automatically for any object registered to the -/// [ObjectServer](crate::ObjectServer). +/// [ObjectServer]. pub struct Properties; assert_impl_all!(Properties: Send, Sync, Unpin); From 7e486f5817c76cd98a7b89565662f89f7d5cf24b Mon Sep 17 00:00:00 2001 From: Zeeshan Ali Khan Date: Sat, 7 Oct 2023 14:44:00 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=91=B7=20CI:=20Use=20large=20runners?= =?UTF-8?q?=20for=20faster=20actions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/deploy.yml | 2 +- .github/workflows/release.yml | 2 +- .github/workflows/rust.yml | 14 +++++++------- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index bcb4634e7..cff10e56d 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -11,7 +11,7 @@ on: jobs: book: - runs-on: ubuntu-latest + runs-on: ubuntu-large permissions: contents: write # To push a branch pull-requests: write # To create a PR from that branch diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8bd957ecc..7bf1f559c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -7,7 +7,7 @@ on: jobs: release: - runs-on: ubuntu-latest + runs-on: ubuntu-large permissions: contents: write steps: diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 044de7295..b2ef0b951 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -8,7 +8,7 @@ on: jobs: MSRV: - runs-on: ubuntu-latest + runs-on: ubuntu-large env: RUSTFLAGS: -D warnings MSRV: 1.66.0 @@ -31,7 +31,7 @@ jobs: # cargo check --all-features lint: - runs-on: ubuntu-latest + runs-on: ubuntu-large env: RUSTFLAGS: -D warnings RUST_BACKTRACE: full @@ -49,7 +49,7 @@ jobs: run: cargo clippy -- -D warnings -D clippy::large_futures linux_test: - runs-on: ubuntu-latest + runs-on: ubuntu-large needs: lint env: RUSTFLAGS: -D warnings @@ -82,7 +82,7 @@ jobs: dbus-run-session --config-file /tmp/dbus-session.conf -- cargo test --verbose --doc --no-default-features connection::Connection::executor windows_test: - runs-on: windows-latest + runs-on: windows-large needs: lint env: RUSTFLAGS: -D warnings @@ -203,7 +203,7 @@ jobs: cargo test --features zbus/windows-gdbus cross_check: - runs-on: ubuntu-latest + runs-on: ubuntu-large env: RUSTFLAGS: -D warnings steps: @@ -220,7 +220,7 @@ jobs: cargo check --target x86_64-unknown-netbsd zvariant_fuzz: - runs-on: ubuntu-latest + runs-on: ubuntu-large env: RUSTFLAGS: -D warnings RUST_BACKTRACE: full @@ -237,7 +237,7 @@ jobs: cargo fuzz run --fuzz-dir zvariant/fuzz gvariant -- -max_total_time=30 -max_len=100M doc_build: - runs-on: ubuntu-latest + runs-on: ubuntu-large env: RUSTDOCFLAGS: -D warnings steps: