mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
build: Fix build warnings on Windows (#32500)
Disable some code for Windows, which is causing build warnings. When it cannot be easily disabled (mainly for the incomplete BHM and sandbox feature), allow dead code.
This commit is contained in:
parent
6b6872831c
commit
7982f0dc27
4 changed files with 10 additions and 0 deletions
|
@ -243,6 +243,7 @@ fn setup_common<C: CommandMethods>(command: &mut C, token: String) {
|
|||
}
|
||||
|
||||
/// A trait to unify commands launched as multiprocess with or without a sandbox.
|
||||
#[allow(dead_code)]
|
||||
trait CommandMethods {
|
||||
/// A command line argument.
|
||||
fn arg<T>(&mut self, arg: T)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue