Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add documentation, improve CI #1

Merged
merged 1 commit into from
Nov 29, 2024

Add documentation

027faa3
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Add documentation, improve CI #1

Add documentation
027faa3
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 29, 2024 in 0s

clippy

4 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 4
Note 0
Help 0

Versions

  • rustc 1.85.0-nightly (a2545fd6f 2024-11-28)
  • cargo 1.85.0-nightly (4c39aaff6 2024-11-25)
  • clippy 0.1.84 (a2545fd6fc 2024-11-28)

Annotations

Check warning on line 34 in src/pool/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`

warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
  --> src/pool/mod.rs:34:1
   |
34 | #[wasm_bindgen]
   | ^^^^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_bindgen_unstable_test_coverage)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: this warning originates in the attribute macro `wasm_bindgen::prelude::__wasm_bindgen_class_marker` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 21 in src/pool/mod.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`

warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
  --> src/pool/mod.rs:21:1
   |
21 | #[wasm_bindgen(getter_with_clone)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_bindgen_unstable_test_coverage)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 15 in src/pool/scheduler.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`

warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
  --> src/pool/scheduler.rs:15:1
   |
15 | #[wasm_bindgen]
   | ^^^^^^^^^^^^^^^
   |
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_bindgen_unstable_test_coverage)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)

Check warning on line 30 in src/global.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`

warning: unexpected `cfg` condition name: `wasm_bindgen_unstable_test_coverage`
  --> src/global.rs:30:1
   |
30 | #[wasm_bindgen(js_name = initWorkerPool)]
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows`
   = help: consider using a Cargo feature instead
   = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
            [lints.rust]
            unexpected_cfgs = { level = "warn", check-cfg = ['cfg(wasm_bindgen_unstable_test_coverage)'] }
   = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(wasm_bindgen_unstable_test_coverage)");` to the top of the `build.rs`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default
   = note: this warning originates in the attribute macro `wasm_bindgen` (in Nightly builds, run with -Z macro-backtrace for more info)