diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/byte_string.rs | 11 | ||||
-rw-r--r-- | tests/function.rs | 11 | ||||
-rw-r--r-- | tests/memory.rs | 11 | ||||
-rw-r--r-- | tests/scope.rs | 11 | ||||
-rw-r--r-- | tests/string.rs | 11 | ||||
-rw-r--r-- | tests/table.rs | 11 | ||||
-rw-r--r-- | tests/tests.rs | 11 | ||||
-rw-r--r-- | tests/thread.rs | 11 | ||||
-rw-r--r-- | tests/types.rs | 11 | ||||
-rw-r--r-- | tests/userdata.rs | 11 |
10 files changed, 0 insertions, 110 deletions
diff --git a/tests/byte_string.rs b/tests/byte_string.rs index ecafd50..3b05ee5 100644 --- a/tests/byte_string.rs +++ b/tests/byte_string.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use bstr::{BStr, BString}; use mlua::{Lua, Result}; diff --git a/tests/function.rs b/tests/function.rs index 3744866..cc1c9ab 100644 --- a/tests/function.rs +++ b/tests/function.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use mlua::{Function, Lua, Result, String}; #[test] diff --git a/tests/memory.rs b/tests/memory.rs index 53c08bd..cf67c18 100644 --- a/tests/memory.rs +++ b/tests/memory.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::sync::Arc; use mlua::{Lua, Result, UserData}; diff --git a/tests/scope.rs b/tests/scope.rs index 22f28de..54840d6 100644 --- a/tests/scope.rs +++ b/tests/scope.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::cell::Cell; use std::rc::Rc; diff --git a/tests/string.rs b/tests/string.rs index ce61f3c..abe8aaa 100644 --- a/tests/string.rs +++ b/tests/string.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::borrow::Cow; use mlua::{Lua, Result, String}; diff --git a/tests/table.rs b/tests/table.rs index 26d9516..5b8974e 100644 --- a/tests/table.rs +++ b/tests/table.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use mlua::{Lua, Nil, Result, Table, Value}; #[test] diff --git a/tests/tests.rs b/tests/tests.rs index 8ef9d48..2784da9 100644 --- a/tests/tests.rs +++ b/tests/tests.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::iter::FromIterator; use std::panic::catch_unwind; use std::sync::Arc; diff --git a/tests/thread.rs b/tests/thread.rs index d3266ba..666a7e6 100644 --- a/tests/thread.rs +++ b/tests/thread.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::panic::catch_unwind; use mlua::{Error, Function, Lua, Result, Thread, ThreadStatus}; diff --git a/tests/types.rs b/tests/types.rs index c5c6c21..72f9484 100644 --- a/tests/types.rs +++ b/tests/types.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::os::raw::c_void; use mlua::{Function, LightUserData, Lua, Result}; diff --git a/tests/userdata.rs b/tests/userdata.rs index 34aa8b4..19a8b95 100644 --- a/tests/userdata.rs +++ b/tests/userdata.rs @@ -1,14 +1,3 @@ -#![cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - feature(link_args) -)] - -#[cfg_attr( - all(feature = "luajit", target_os = "macos", target_arch = "x86_64"), - link_args = "-pagezero_size 10000 -image_base 100000000" -)] -extern "system" {} - use std::sync::Arc; use mlua::{ |