@@ -1263,7 +1263,6 @@ end
1263
1263
1264
1264
-- get the program and name of the given tool kind
1265
1265
function _instance :tool (toolkind )
1266
- self :_check_limits_on_load (" tool" )
1267
1266
if self :toolchains () then
1268
1267
local cachekey = " package_" .. tostring (self )
1269
1268
return toolchain .tool (self :toolchains (), toolkind , {cachekey = cachekey , plat = self :plat (), arch = self :arch ()})
@@ -1274,7 +1273,6 @@ end
1274
1273
1275
1274
-- get tool configuration from the toolchains
1276
1275
function _instance :toolconfig (name )
1277
- self :_check_limits_on_load (" toolconfig" )
1278
1276
if self :toolchains () then
1279
1277
local cachekey = " package_" .. tostring (self )
1280
1278
return toolchain .toolconfig (self :toolchains (), name , {cachekey = cachekey , plat = self :plat (), arch = self :arch ()})
@@ -1308,7 +1306,6 @@ end
1308
1306
-- ...
1309
1307
-- end
1310
1308
function _instance :has_tool (toolkind , ...)
1311
- self :_check_limits_on_load (" has_tool" )
1312
1309
local _ , toolname = self :tool (toolkind )
1313
1310
if toolname then
1314
1311
for _ , v in ipairs (table .join (... )) do
@@ -2439,7 +2436,6 @@ end
2439
2436
-- @return true or false, errors
2440
2437
--
2441
2438
function _instance :has_cfuncs (funcs , opt )
2442
- self :_check_limits_on_load (" has_cfuncs" )
2443
2439
opt = opt or {}
2444
2440
opt .target = self
2445
2441
opt .configs = self :_generate_build_configs (opt .configs , {sourcekind = " cc" })
@@ -2454,7 +2450,6 @@ end
2454
2450
-- @return true or false, errors
2455
2451
--
2456
2452
function _instance :has_cxxfuncs (funcs , opt )
2457
- self :_check_limits_on_load (" has_cxxfuncs" )
2458
2453
opt = opt or {}
2459
2454
opt .target = self
2460
2455
opt .configs = self :_generate_build_configs (opt .configs , {sourcekind = " cxx" })
@@ -2469,7 +2464,6 @@ end
2469
2464
-- @return true or false, errors
2470
2465
--
2471
2466
function _instance :has_ctypes (types , opt )
2472
- self :_check_limits_on_load (" has_ctypes" )
2473
2467
opt = opt or {}
2474
2468
opt .target = self
2475
2469
opt .configs = self :_generate_build_configs (opt .configs , {sourcekind = " cc" })
@@ -2484,7 +2478,6 @@ end
2484
2478
-- @return true or false, errors
2485
2479
--
2486
2480
function _instance :has_cxxtypes (types , opt )
2487
- self :_check_limits_on_load (" has_cxxtypes" )
2488
2481
opt = opt or {}
2489
2482
opt .target = self
2490
2483
opt .configs = self :_generate_build_configs (opt .configs , {sourcekind = " cxx" })
@@ -2499,7 +2492,6 @@ end
2499
2492
-- @return true or false, errors
2500
2493
--
2501
2494
function _instance :has_cincludes (includes , opt )
2502
- self :_check_limits_on_load (" has_cincludes" )
2503
2495
opt = opt or {}
2504
2496
opt .target = self
2505
2497
opt .configs = self :_generate_build_configs (opt .configs , {sourcekind = " cc" })
0 commit comments