Merge pull request #21 from jackpot51/master
Use dummy platform for Redox OS
This commit is contained in:
commit
558dbfb400
2 changed files with 5 additions and 3 deletions
|
|
@ -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" }
|
||||
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue