{"action":"opened","number":22,"pull_request":{"url":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22","id":231638884,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMxNjM4ODg0","html_url":"https://github.com/CraneStation/wasmtime/pull/22","diff_url":"https://github.com/CraneStation/wasmtime/pull/22.diff","patch_url":"https://github.com/CraneStation/wasmtime/pull/22.patch","issue_url":"https://api.github.com/repos/CraneStation/wasmtime/issues/22","number":22,"state":"open","locked":false,"title":"Update to latest Cranelift","user":{"login":"sunfishcode","id":4503403,"node_id":"MDQ6VXNlcjQ1MDM0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/4503403?v=4","gravatar_id":"","url":"https://api.github.com/users/sunfishcode","html_url":"https://github.com/sunfishcode","followers_url":"https://api.github.com/users/sunfishcode/followers","following_url":"https://api.github.com/users/sunfishcode/following{/other_user}","gists_url":"https://api.github.com/users/sunfishcode/gists{/gist_id}","starred_url":"https://api.github.com/users/sunfishcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunfishcode/subscriptions","organizations_url":"https://api.github.com/users/sunfishcode/orgs","repos_url":"https://api.github.com/users/sunfishcode/repos","events_url":"https://api.github.com/users/sunfishcode/events{/privacy}","received_events_url":"https://api.github.com/users/sunfishcode/received_events","type":"User","site_admin":false},"body":"This updates wasmtime to Cranelift 0.24.0, which includes a bunch of API migrations.\r\n\r\nBecause it was inconvenient to do this separately, this PR also introduces a new instance data structure, declared here: lib/environ/src/vmcontext.rs. The high-level summary is, instead of an array of *mut u8, we now have a repr(C, packed) struct, and we use the `memoffset` crate to compute offsets, which is a lot cleaner than just having magic offsets in various places.\r\n\r\nThere are a lot of FIXMEs in here, but I think this is enough to get the tree up to date with Cranelift API changes, and also point the way forward for future changes.","created_at":"2018-11-16T19:55:27Z","updated_at":"2018-11-16T19:55:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22/commits","review_comments_url":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22/comments","review_comment_url":"https://api.github.com/repos/CraneStation/wasmtime/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CraneStation/wasmtime/issues/22/comments","statuses_url":"https://api.github.com/repos/CraneStation/wasmtime/statuses/f638fa028ffdd633f1287e0cd94d4037b3527b53","head":{"label":"sunfishcode:update","ref":"update","sha":"f638fa028ffdd633f1287e0cd94d4037b3527b53","user":{"login":"sunfishcode","id":4503403,"node_id":"MDQ6VXNlcjQ1MDM0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/4503403?v=4","gravatar_id":"","url":"https://api.github.com/users/sunfishcode","html_url":"https://github.com/sunfishcode","followers_url":"https://api.github.com/users/sunfishcode/followers","following_url":"https://api.github.com/users/sunfishcode/following{/other_user}","gists_url":"https://api.github.com/users/sunfishcode/gists{/gist_id}","starred_url":"https://api.github.com/users/sunfishcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunfishcode/subscriptions","organizations_url":"https://api.github.com/users/sunfishcode/orgs","repos_url":"https://api.github.com/users/sunfishcode/repos","events_url":"https://api.github.com/users/sunfishcode/events{/privacy}","received_events_url":"https://api.github.com/users/sunfishcode/received_events","type":"User","site_admin":false},"repo":{"id":144394838,"node_id":"MDEwOlJlcG9zaXRvcnkxNDQzOTQ4Mzg=","name":"wasmtime","full_name":"sunfishcode/wasmtime","private":false,"owner":{"login":"sunfishcode","id":4503403,"node_id":"MDQ6VXNlcjQ1MDM0MDM=","avatar_url":"https://avatars1.githubusercontent.com/u/4503403?v=4","gravatar_id":"","url":"https://api.github.com/users/sunfishcode","html_url":"https://github.com/sunfishcode","followers_url":"https://api.github.com/users/sunfishcode/followers","following_url":"https://api.github.com/users/sunfishcode/following{/other_user}","gists_url":"https://api.github.com/users/sunfishcode/gists{/gist_id}","starred_url":"https://api.github.com/users/sunfishcode/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sunfishcode/subscriptions","organizations_url":"https://api.github.com/users/sunfishcode/orgs","repos_url":"https://api.github.com/users/sunfishcode/repos","events_url":"https://api.github.com/users/sunfishcode/events{/privacy}","received_events_url":"https://api.github.com/users/sunfishcode/received_events","type":"User","site_admin":false},"html_url":"https://github.com/sunfishcode/wasmtime","description":"Standalone JIT-style runtime for WebAsssembly, using Cranelift","fork":true,"url":"https://api.github.com/repos/sunfishcode/wasmtime","forks_url":"https://api.github.com/repos/sunfishcode/wasmtime/forks","keys_url":"https://api.github.com/repos/sunfishcode/wasmtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sunfishcode/wasmtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sunfishcode/wasmtime/teams","hooks_url":"https://api.github.com/repos/sunfishcode/wasmtime/hooks","issue_events_url":"https://api.github.com/repos/sunfishcode/wasmtime/issues/events{/number}","events_url":"https://api.github.com/repos/sunfishcode/wasmtime/events","assignees_url":"https://api.github.com/repos/sunfishcode/wasmtime/assignees{/user}","branches_url":"https://api.github.com/repos/sunfishcode/wasmtime/branches{/branch}","tags_url":"https://api.github.com/repos/sunfishcode/wasmtime/tags","blobs_url":"https://api.github.com/repos/sunfishcode/wasmtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sunfishcode/wasmtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sunfishcode/wasmtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/sunfishcode/wasmtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sunfishcode/wasmtime/statuses/{sha}","languages_url":"https://api.github.com/repos/sunfishcode/wasmtime/languages","stargazers_url":"https://api.github.com/repos/sunfishcode/wasmtime/stargazers","contributors_url":"https://api.github.com/repos/sunfishcode/wasmtime/contributors","subscribers_url":"https://api.github.com/repos/sunfishcode/wasmtime/subscribers","subscription_url":"https://api.github.com/repos/sunfishcode/wasmtime/subscription","commits_url":"https://api.github.com/repos/sunfishcode/wasmtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/sunfishcode/wasmtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/sunfishcode/wasmtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/sunfishcode/wasmtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/sunfishcode/wasmtime/contents/{+path}","compare_url":"https://api.github.com/repos/sunfishcode/wasmtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sunfishcode/wasmtime/merges","archive_url":"https://api.github.com/repos/sunfishcode/wasmtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sunfishcode/wasmtime/downloads","issues_url":"https://api.github.com/repos/sunfishcode/wasmtime/issues{/number}","pulls_url":"https://api.github.com/repos/sunfishcode/wasmtime/pulls{/number}","milestones_url":"https://api.github.com/repos/sunfishcode/wasmtime/milestones{/number}","notifications_url":"https://api.github.com/repos/sunfishcode/wasmtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sunfishcode/wasmtime/labels{/name}","releases_url":"https://api.github.com/repos/sunfishcode/wasmtime/releases{/id}","deployments_url":"https://api.github.com/repos/sunfishcode/wasmtime/deployments","created_at":"2018-08-11T15:06:39Z","updated_at":"2018-08-11T15:06:41Z","pushed_at":"2018-11-16T19:49:49Z","git_url":"git://github.com/sunfishcode/wasmtime.git","ssh_url":"git@github.com:sunfishcode/wasmtime.git","clone_url":"https://github.com/sunfishcode/wasmtime.git","svn_url":"https://github.com/sunfishcode/wasmtime","homepage":"","size":2711,"stargazers_count":0,"watchers_count":0,"language":"Rust","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CraneStation:master","ref":"master","sha":"7fca0792dd6fc49a824ce1d5bff3494aba00e932","user":{"login":"CraneStation","id":11573910,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTczOTEw","avatar_url":"https://avatars3.githubusercontent.com/u/11573910?v=4","gravatar_id":"","url":"https://api.github.com/users/CraneStation","html_url":"https://github.com/CraneStation","followers_url":"https://api.github.com/users/CraneStation/followers","following_url":"https://api.github.com/users/CraneStation/following{/other_user}","gists_url":"https://api.github.com/users/CraneStation/gists{/gist_id}","starred_url":"https://api.github.com/users/CraneStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraneStation/subscriptions","organizations_url":"https://api.github.com/users/CraneStation/orgs","repos_url":"https://api.github.com/users/CraneStation/repos","events_url":"https://api.github.com/users/CraneStation/events{/privacy}","received_events_url":"https://api.github.com/users/CraneStation/received_events","type":"Organization","site_admin":false},"repo":{"id":101767772,"node_id":"MDEwOlJlcG9zaXRvcnkxMDE3Njc3NzI=","name":"wasmtime","full_name":"CraneStation/wasmtime","private":false,"owner":{"login":"CraneStation","id":11573910,"node_id":"MDEyOk9yZ2FuaXphdGlvbjExNTczOTEw","avatar_url":"https://avatars3.githubusercontent.com/u/11573910?v=4","gravatar_id":"","url":"https://api.github.com/users/CraneStation","html_url":"https://github.com/CraneStation","followers_url":"https://api.github.com/users/CraneStation/followers","following_url":"https://api.github.com/users/CraneStation/following{/other_user}","gists_url":"https://api.github.com/users/CraneStation/gists{/gist_id}","starred_url":"https://api.github.com/users/CraneStation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CraneStation/subscriptions","organizations_url":"https://api.github.com/users/CraneStation/orgs","repos_url":"https://api.github.com/users/CraneStation/repos","events_url":"https://api.github.com/users/CraneStation/events{/privacy}","received_events_url":"https://api.github.com/users/CraneStation/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/CraneStation/wasmtime","description":"Standalone JIT-style runtime for WebAsssembly, using Cranelift","fork":false,"url":"https://api.github.com/repos/CraneStation/wasmtime","forks_url":"https://api.github.com/repos/CraneStation/wasmtime/forks","keys_url":"https://api.github.com/repos/CraneStation/wasmtime/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CraneStation/wasmtime/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CraneStation/wasmtime/teams","hooks_url":"https://api.github.com/repos/CraneStation/wasmtime/hooks","issue_events_url":"https://api.github.com/repos/CraneStation/wasmtime/issues/events{/number}","events_url":"https://api.github.com/repos/CraneStation/wasmtime/events","assignees_url":"https://api.github.com/repos/CraneStation/wasmtime/assignees{/user}","branches_url":"https://api.github.com/repos/CraneStation/wasmtime/branches{/branch}","tags_url":"https://api.github.com/repos/CraneStation/wasmtime/tags","blobs_url":"https://api.github.com/repos/CraneStation/wasmtime/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CraneStation/wasmtime/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CraneStation/wasmtime/git/refs{/sha}","trees_url":"https://api.github.com/repos/CraneStation/wasmtime/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CraneStation/wasmtime/statuses/{sha}","languages_url":"https://api.github.com/repos/CraneStation/wasmtime/languages","stargazers_url":"https://api.github.com/repos/CraneStation/wasmtime/stargazers","contributors_url":"https://api.github.com/repos/CraneStation/wasmtime/contributors","subscribers_url":"https://api.github.com/repos/CraneStation/wasmtime/subscribers","subscription_url":"https://api.github.com/repos/CraneStation/wasmtime/subscription","commits_url":"https://api.github.com/repos/CraneStation/wasmtime/commits{/sha}","git_commits_url":"https://api.github.com/repos/CraneStation/wasmtime/git/commits{/sha}","comments_url":"https://api.github.com/repos/CraneStation/wasmtime/comments{/number}","issue_comment_url":"https://api.github.com/repos/CraneStation/wasmtime/issues/comments{/number}","contents_url":"https://api.github.com/repos/CraneStation/wasmtime/contents/{+path}","compare_url":"https://api.github.com/repos/CraneStation/wasmtime/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CraneStation/wasmtime/merges","archive_url":"https://api.github.com/repos/CraneStation/wasmtime/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CraneStation/wasmtime/downloads","issues_url":"https://api.github.com/repos/CraneStation/wasmtime/issues{/number}","pulls_url":"https://api.github.com/repos/CraneStation/wasmtime/pulls{/number}","milestones_url":"https://api.github.com/repos/CraneStation/wasmtime/milestones{/number}","notifications_url":"https://api.github.com/repos/CraneStation/wasmtime/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CraneStation/wasmtime/labels{/name}","releases_url":"https://api.github.com/repos/CraneStation/wasmtime/releases{/id}","deployments_url":"https://api.github.com/repos/CraneStation/wasmtime/deployments","created_at":"2017-08-29T14:01:55Z","updated_at":"2018-11-16T17:56:39Z","pushed_at":"2018-11-16T17:56:37Z","git_url":"git://github.com/CraneStation/wasmtime.git","ssh_url":"git@github.com:CraneStation/wasmtime.git","clone_url":"https://github.com/CraneStation/wasmtime.git","svn_url":"https://github.com/CraneStation/wasmtime","homepage":"","size":2703,"stargazers_count":62,"watchers_count":62,"language":"Rust","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":11,"mirror_url":null,"archived":false,"open_issues_count":12,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":11,"open_issues":12,"watchers":62,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22"},"html":{"href":"https://github.com/CraneStation/wasmtime/pull/22"},"issue":{"href":"https://api.github.com/repos/CraneStation/wasmtime/issues/22"},"comments":{"href":"https://api.github.com/repos/CraneStation/wasmtime/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/CraneStation/wasmtime/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CraneStation/wasmtime/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/CraneStation/wasmtime/statuses/f638fa028ffdd633f1287e0cd94d4037b3527b53"}},"author_association":"MEMBER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":2,"additions":222,"deletions":122,"changed_files":13}}
{"actor":{"display_login":"sunfishcode"}}