Skip to content

Commit 0c048e3

Browse files
mukilanjdm
andcommitted
fix symbolic links and other issues preventing publishing
Co-authored-by: Josh Matthews <josh@joshmatthews.net> Co-authored-by: Mukilan Thiyagarajan <mukilan@igalia.com> Signed-off-by: Mukilan Thiyagarajan <mukilan@igalia.com>
1 parent b6a2125 commit 0c048e3

File tree

10 files changed

+13
-13
lines changed

10 files changed

+13
-13
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ sparkle = { version = "0.1", optional = true }
4242
osmesa-sys = { version = "0.1", optional = true }
4343
rwh_05 = { package = "raw-window-handle", version = "0.5.2", features = ["std"], optional = true }
4444
rwh_06 = { package = "raw-window-handle", version = "0.6.2", features = ["std"], optional = true }
45+
serial_test = "3.1.0"
4546

4647
[dev-dependencies]
4748
clap = "2"
4849
gl = "0.14"
4950
png = "0.17"
5051
rand = "0.8"
5152
winit = "0.29"
52-
serial_test = "3.1.0"
5353

5454
[target.'cfg(target_os = "macos")'.dependencies]
5555
cgl = "0.3.2"
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/blit.fs.glsl
1+
../../../../../resources/examples/blit.fs.glsl
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/check.fs.glsl
1+
../../../../../resources/examples/check.fs.glsl
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/grid.fs.glsl
1+
../../../../../resources/examples/grid.fs.glsl
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/quad.vs.glsl
1+
../../../../../resources/examples/quad.vs.glsl
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/tri.fs.glsl
1+
../../../../../resources/examples/tri.fs.glsl
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
../../../../../surfman/resources/examples/tri.vs.glsl
1+
../../../../../resources/examples/tri.vs.glsl

android-example/app/src/main/jniLibs/arm64-v8a/libsurfman_android_threads.so

-1
This file was deleted.

android-example/rust/Cargo.toml

+4-3
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
name = "surfman_android_threads"
33
version = "0.1.0"
44
authors = ["Patrick Walton <pcwalton@mimiga.net>"]
5-
edition = "2018"
5+
edition = "2021"
66

77
[lib]
88
name = "main"
9-
crate_type = ["cdylib"]
9+
crate-type = ["cdylib"]
1010

1111
[profile.dev]
1212
panic = "abort"
@@ -21,7 +21,8 @@ gl = "0.14"
2121
jni = "0.21"
2222
log = "0.4"
2323
surfman = { version = "0.9.4", features = [ "sm-test" ] }
24-
winit = { version = "0.29.10", features = [ "android-native-activity", "rwh_05" ] }
24+
winit = { version = "0.29.10", features = [ "android-native-activity", "rwh_06" ] }
25+
rwh_06 = { package = "raw-window-handle", version = "0.6" }
2526

2627
[patch.crates-io]
2728
surfman = { path = "../../" }

android-example/rust/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ use log::Level;
1414
use std::cell::{Cell, RefCell};
1515
use std::mem;
1616
use std::thread::{self, JoinHandle};
17-
use surfman::platform::android::tests;
17+
use surfman::platform::egl::tests;
1818
use surfman::{Connection, NativeContext, NativeDevice};
1919

20-
#[path = "../../../surfman/examples/threads.rs"]
20+
#[path = "../../../examples/threads.rs"]
2121
mod threads;
2222

2323
thread_local! {

0 commit comments

Comments
 (0)