CScoreboard
directly where it's used instead of looping over all 0.7 images and incorrectly incrementing the loading progress.
The incorrect loading progress was especially noticeable when the client is very slow, e.g. on Android emulators and when running with ASan.
See #9151. This does not address that too much unnecessary code is being generated yet.
itsabot
, with custom sounds! --- stderr
thread 'main' panicked at /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/wayland-sys-0.31.5/build.rs:10:47:
called `Result::unwrap()` on an `Err` value:
pkg-config exited with status code 1
> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags wayland-client
The system library `wayland-client` required by crate `wayland-sys` was not found.
The file `wayland-client.pc` needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.
The PKG_CONFIG_PATH environment variable is not set.
HINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing `wayland-client.pc`.
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
error: could not compile
microphone (lib) due to 2 previous errors
`error: could not compile
microphone (lib) due to 2 previous errors
` cargo run --release --features bundled_data_dir,ffmpeg,microphone,enable_steam
cargo build
and cargo run
work but the readme doesn even when microphone is kickedcargo run --release --features bundled_data_dir,ffmpeg,microphone,enable_steam
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:66:1
|
66 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
66 | borrow
|
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:244:1
|
244 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
244 | borrow
|
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:272:1
|
272 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
272 | borrow
|
For more information about this error, try `rustc --explain E0599`.
error: could not compile `av-encoder` (lib) due to 5 previous errors
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:66:1
|
66 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
66 | borrow
|
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:244:1
|
244 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
244 | borrow
|
error[E0599]: no method named `hi_borrow` found for struct `Arc<HiUnsafeMutex<AudioVideoEncoderImplImpl>>` in the current scope
--> lib/av-encoder/src/encoder.rs:272:1
|
272 | #[hiarc_safer_arc_mutex]
| ^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: this error originates in the attribute macro `hiarc_safer_arc_mutex` (in Nightly builds, run with -Z macro-backtrace for more info)
help: there is a method `borrow` with a similar name
|
272 | borrow
|
For more information about this error, try `rustc --explain E0599`.
error: could not compile `av-encoder` (lib) due to 5 previous errors
def check_os() -> Tuple[str, str]:
if os.name == "posix": # Unix-like system
shell = "/bin/bash"
ext = ""
elif os.name == 'nt': # Windows
shell = "powershell.exe"
ext = ".exe"
else:
raise OSError("Unsupported operating system")
return shell, ext
itsabot
, with custom sounds!def check_os() -> Tuple[str, str]:
if os.name == "posix": # Unix-like system
shell = "/bin/bash"
ext = ""
elif os.name == 'nt': # Windows
shell = "powershell.exe"
ext = ".exe"
else:
raise OSError("Unsupported operating system")
return shell, ext
shutil.which("<yourcmd>")