RustDesk/libs
Jonathan Gilbert a903f710ea
Eliminate build warnings from the Scrap crate (#13383)
* Updated build.rs to tell RustC that dxgi, quartz and x11 are expected configurations.
Added lifetime annotations to various methods in common/aom.rs and common/vpxcodec.rs.
Updated common/vpx.rs to allow unused_imports in the generated bindings.
Updated dxgi/mag.rs to allow non_snake_case identifiers like "dwFilterMode".

* Added lifetime annotations to methods in common/hwcodec.rs and common/vram.rs.

* Switched syntax for the rustc-check-cfg directive emitted by build.rs in the scrap crate to use syntax compatible with Rust toolchain version 1.75. The double-colon syntax requires 1.77 or newer, but the older single-colon syntax works fine on newer versions for this directive.

* Update libs/scrap/build.rs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Revert apparently-erroneous AI suggestion. It's usually pretty good, but not always right it seems. :-)

This reverts commit bf862b13f6.

* Removed redundant configuration directives from libs/scrap/build.rs.

---------

Co-authored-by: RustDesk <71636191+rustdesk@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-04 10:19:13 +08:00
..
clipboard feat: clipboard files, audit (#12730) 2025-08-25 22:29:53 +08:00
enigo fix: osx, reset modifiers' state after locking screen (#11806) 2025-05-19 21:02:07 +08:00
hbb_common@a4053b929b refact: tls, native-tls fallback rustls-tls (#13263) 2025-11-03 23:21:01 +08:00
portable 1.4.3 2025-10-17 13:58:08 +08:00
remote_printer Allow non_snake_case identifiers in src/setup/mod.rs for libs/remote_printer. (#13384) 2025-11-02 21:19:13 +08:00
scrap Eliminate build warnings from the Scrap crate (#13383) 2025-11-04 10:19:13 +08:00
virtual_display refact: remove unnecessary printing (#12000) 2025-06-06 14:52:01 +08:00