mirror of
https://github.com/ziglang/zig.git
synced 2026-01-02 11:33:21 +00:00
Merge branch 'NBonaparte-linuxdynlib'
This commit is contained in:
commit
7bfae39c5c
@ -114,7 +114,7 @@ pub const LinuxDynLib = struct {
|
||||
null,
|
||||
size,
|
||||
os.PROT_READ | os.PROT_EXEC,
|
||||
os.MAP_PRIVATE | os.MAP_LOCKED,
|
||||
os.MAP_PRIVATE,
|
||||
fd,
|
||||
0,
|
||||
);
|
||||
|
||||
@ -17,9 +17,7 @@ pub fn addCases(cases: *tests.BuildExamplesContext) void {
|
||||
cases.addBuildFile("test/standalone/use_alias/build.zig");
|
||||
cases.addBuildFile("test/standalone/brace_expansion/build.zig");
|
||||
cases.addBuildFile("test/standalone/empty_env/build.zig");
|
||||
if (false) {
|
||||
// TODO this test is disabled because it is failing on the CI server's linux. when this is fixed
|
||||
// enable it for at least linux
|
||||
if (builtin.os == builtin.Os.linux) {
|
||||
// TODO hook up the DynLib API for windows using LoadLibraryA
|
||||
// TODO figure out how to make this work on darwin - probably libSystem has dlopen/dlsym in it
|
||||
cases.addBuildFile("test/standalone/load_dynamic_library/build.zig");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user