Merge pull request #21 from jackpot51/master

Use dummy platform for Redox OS
This commit is contained in:
Héctor Ramón 2023-01-11 18:17:22 +01:00 committed by GitHub
commit 558dbfb400
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View file

@ -21,7 +21,7 @@ clipboard-win = { version = "4.0", features = ["std"] }
[target.'cfg(target_os = "macos")'.dependencies]
clipboard_macos = { version = "0.1", path = "./macos" }
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios"))))'.dependencies]
[target.'cfg(all(unix, not(any(target_os="macos", target_os="android", target_os="emscripten", target_os="ios", target_os="redox"))))'.dependencies]
clipboard_x11 = { version = "0.4", path = "./x11" }
clipboard_wayland = { version = "0.2", path = "./wayland" }

View file

@ -4,7 +4,8 @@
target_os = "macos",
target_os = "ios",
target_os = "android",
target_os = "emscripten"
target_os = "emscripten",
target_os = "redox"
))
))]
#[path = "platform/linux.rs"]
@ -33,7 +34,8 @@ mod platform;
target_os = "macos",
target_os = "ios",
target_os = "android",
target_os = "emscripten"
target_os = "emscripten",
target_os = "redox"
))
),
target_os = "windows",