{"action":"created","issue":{"url":"https://api.github.com/repos/ziglang/zig/issues/1859","repository_url":"https://api.github.com/repos/ziglang/zig","labels_url":"https://api.github.com/repos/ziglang/zig/issues/1859/labels{/name}","comments_url":"https://api.github.com/repos/ziglang/zig/issues/1859/comments","events_url":"https://api.github.com/repos/ziglang/zig/issues/1859/events","html_url":"https://github.com/ziglang/zig/pull/1859","id":394262419,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQxMDUyMTAy","number":1859,"title":"[WIP] Add Tier 1 FreeBSD Support for x86_64","user":{"login":"mgxm","id":29114,"node_id":"MDQ6VXNlcjI5MTE0","avatar_url":"https://avatars2.githubusercontent.com/u/29114?v=4","gravatar_id":"","url":"https://api.github.com/users/mgxm","html_url":"https://github.com/mgxm","followers_url":"https://api.github.com/users/mgxm/followers","following_url":"https://api.github.com/users/mgxm/following{/other_user}","gists_url":"https://api.github.com/users/mgxm/gists{/gist_id}","starred_url":"https://api.github.com/users/mgxm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mgxm/subscriptions","organizations_url":"https://api.github.com/users/mgxm/orgs","repos_url":"https://api.github.com/users/mgxm/repos","events_url":"https://api.github.com/users/mgxm/events{/privacy}","received_events_url":"https://api.github.com/users/mgxm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":14,"created_at":"2018-12-27T00:13:06Z","updated_at":"2018-12-29T17:45:23Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/ziglang/zig/pulls/1859","html_url":"https://github.com/ziglang/zig/pull/1859","diff_url":"https://github.com/ziglang/zig/pull/1859.diff","patch_url":"https://github.com/ziglang/zig/pull/1859.patch"},"body":"Continuing the work already done by @tiehuis and @myfreeweb, I have completed\r\nsome missing points to finish the Tier 1 support. One of the\r\nmain points was that we get rid of all the syscalls and now we are using the\r\nlibc interface, which is the stable ABI.\r\n\r\nAlmost all tests are passing, missing ~only one to fix and which I'm working\r\non~ a lot of fixes. The said test is the [test-cli](https://github.com/ziglang/zig/blob/master/test/cli.zig), which works on FreeBSD 12 but fails on\r\nFreeBSD 11.\r\n\r\n<details>\r\n <summary>FreeBSD 11 Stack Trace</summary>\r\n\r\n```\r\nerror: NameTooLong\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:1040:28: 0x234bff in ??? (cli)\r\n            posix.EPERM => return error.AccessDenied,\r\n                           ^\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:1014:9: 0x22bc9c in ??? (cli)\r\n        return deleteFileC(&file_path_c);\r\n        ^\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:513:42: 0x2202f9 in ??? (cli)\r\n    if (file_path.len >= posix.PATH_MAX) return error.NameTooLong;\r\n                                         ^\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:1013:29: 0x22bc1b in ??? (cli)\r\n        const file_path_c = try toPosixPath(file_path);\r\n                            ^\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:1442:16: 0x229355 in ??? (cli)\r\n            => return err,\r\n               ^\r\n/usr/home/marcio/build/zig/build/lib/zig/std/os/index.zig:1484:17: 0x2297ad in ??? (cli)\r\n                try deleteTree(allocator, full_entry_path);\r\n                ^\r\n/usr/home/marcio/build/zig/test/cli.zig:40:9: 0x228411 in ??? (cli)\r\n        try os.deleteTree(a, dir_path);\r\n```\r\n</details>"},"comment":{"url":"https://api.github.com/repos/ziglang/zig/issues/comments/450508752","html_url":"https://github.com/ziglang/zig/pull/1859#issuecomment-450508752","issue_url":"https://api.github.com/repos/ziglang/zig/issues/1859","id":450508752,"node_id":"MDEyOklzc3VlQ29tbWVudDQ1MDUwODc1Mg==","user":{"login":"andrewrk","id":106511,"node_id":"MDQ6VXNlcjEwNjUxMQ==","avatar_url":"https://avatars0.githubusercontent.com/u/106511?v=4","gravatar_id":"","url":"https://api.github.com/users/andrewrk","html_url":"https://github.com/andrewrk","followers_url":"https://api.github.com/users/andrewrk/followers","following_url":"https://api.github.com/users/andrewrk/following{/other_user}","gists_url":"https://api.github.com/users/andrewrk/gists{/gist_id}","starred_url":"https://api.github.com/users/andrewrk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andrewrk/subscriptions","organizations_url":"https://api.github.com/users/andrewrk/orgs","repos_url":"https://api.github.com/users/andrewrk/repos","events_url":"https://api.github.com/users/andrewrk/events{/privacy}","received_events_url":"https://api.github.com/users/andrewrk/received_events","type":"User","site_admin":false},"created_at":"2018-12-29T17:45:23Z","updated_at":"2018-12-29T17:45:23Z","author_association":"MEMBER","body":"No worries! This patch still represents significant progress. Thank you for your contribution."}}
{"actor":{"display_login":"andrewrk"}}