| 1 |
Index: sqlx/tests/mysql/derives.rs |
| 2 |
=================================================================== |
| 3 |
--- sqlx.orig/tests/mysql/derives.rs |
| 4 |
+++ sqlx/tests/mysql/derives.rs |
| 5 |
@@ -2,6 +2,7 @@ use sqlx_mysql::MySql; |
| 6 |
use sqlx_test::new; |
| 7 |
|
| 8 |
#[sqlx::test] |
| 9 |
+#[cfg(any(feature = "runtime-async-std", feature = "runtime-tokio"))] |
| 10 |
async fn test_derive_strong_enum() -> anyhow::Result<()> { |
| 11 |
#[derive(sqlx::Type, PartialEq, Eq, Debug)] |
| 12 |
#[sqlx(rename_all = "PascalCase")] |
| 13 |
@@ -144,6 +145,7 @@ async fn test_derive_strong_enum() -> an |
| 14 |
} |
| 15 |
|
| 16 |
#[sqlx::test] |
| 17 |
+#[cfg(any(feature = "runtime-async-std", feature = "runtime-tokio"))] |
| 18 |
async fn test_derive_weak_enum() -> anyhow::Result<()> { |
| 19 |
#[derive(sqlx::Type, Debug, PartialEq, Eq)] |
| 20 |
#[repr(i8)] |
| 21 |
Index: sqlx/tests/mysql/macros.rs |
| 22 |
=================================================================== |
| 23 |
--- sqlx.orig/tests/mysql/macros.rs |
| 24 |
+++ sqlx/tests/mysql/macros.rs |
| 25 |
@@ -404,6 +404,7 @@ async fn test_try_from_attr_for_custom_t |
| 26 |
} |
| 27 |
|
| 28 |
#[sqlx_macros::test] |
| 29 |
+#[cfg(any(feature = "runtime-async-std", feature = "runtime-tokio"))] |
| 30 |
async fn test_try_from_attr_with_flatten() -> anyhow::Result<()> { |
| 31 |
#[derive(sqlx::FromRow)] |
| 32 |
struct Record { |