From 2fd6757f39e218be142b951afa6d5bb290989826 Mon Sep 17 00:00:00 2001 From: Alex Orlenko Date: Sat, 16 May 2020 15:13:38 +0100 Subject: Add LuaJIT 2.0.5 stable support --- tests/table.rs | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'tests/table.rs') diff --git a/tests/table.rs b/tests/table.rs index 6378e5c..2417619 100644 --- a/tests/table.rs +++ b/tests/table.rs @@ -1,3 +1,15 @@ +#![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", + allow(unused_attributes) +)] +extern "system" {} + use mlua::{Lua, Nil, Result, Table, TableExt, Value}; #[test] -- cgit v1.2.3