Skip to content
This repository was archived by the owner on Mar 17, 2026. It is now read-only.

use wasix-org/parking_lot instead#97

Merged
syrusakbary merged 3 commits intomainfrom
parking_lot_patches
Feb 27, 2025
Merged

use wasix-org/parking_lot instead#97
syrusakbary merged 3 commits intomainfrom
parking_lot_patches

Conversation

@charmitro
Copy link
Copy Markdown
Contributor

Fixes:

  Compiling parking_lot_core v0.9.9
  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:48:21
     |
  48 |             let r = wasm32::memory_atomic_wait32(self.ptr(), PARKED, -1);
     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <https://github.com/rust-lang/rust/issues/77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:60:25
     |
  60 |                 let r = wasm32::memory_atomic_wait32(self.ptr(), PARKED, nanos_left);
     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <https://github.com/rust-lang/rust/issues/77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:89:28
     |
  89 |         let num_notified = wasm32::memory_atomic_notify(self.0 as *mut i32, 1);
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <https://github.com/rust-lang/rust/issues/77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0635]: unknown feature `stdsimd`
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/lib.rs:52:13
     |
  52 |     feature(stdsimd)
     |             ^^^^^^^

  Some errors have detailed explanations: E0635, E0658.

charmitro and others added 3 commits February 26, 2025 16:27
Fixes:

  Compiling parking_lot_core v0.9.9
  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:48:21
     |
  48 |             let r = wasm32::memory_atomic_wait32(self.ptr(), PARKED, -1);
     |                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <rust-lang/rust#77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:60:25
     |
  60 |                 let r = wasm32::memory_atomic_wait32(self.ptr(), PARKED, nanos_left);
     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <rust-lang/rust#77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0658]: use of unstable library feature 'stdarch_wasm_atomic_wait'
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/thread_parker/wasm_atomic.rs:89:28
     |
  89 |         let num_notified = wasm32::memory_atomic_notify(self.0 as *mut i32, 1);
     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: see issue #77839 <rust-lang/rust#77839> for more information
     = help: add `#![feature(stdarch_wasm_atomic_wait)]` to the crate attributes to enable

  error[E0635]: unknown feature `stdsimd`
    --> /home/charmitro/.cargo/registry/src/index.crates.io-1949cf8c6b5b557f/parking_lot_core-0.9.9/src/lib.rs:52:13
     |
  52 |     feature(stdsimd)
     |             ^^^^^^^

  Some errors have detailed explanations: E0635, E0658.

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
Fixes,

  E: Unable to locate package python3.11
  E: Couldn't find any package by glob 'python3.11'
  E: Couldn't find any package by regex 'python3.11'
  E: Package 'python3-distutils' has no installation candidate

Signed-off-by: Charalampos Mitrodimas <charalampos@wasmer.io>
@syrusakbary syrusakbary merged commit b74e8c7 into main Feb 27, 2025
0 of 4 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants