{"action":"closed","issue":{"url":"https://api.github.com/repos/rust-lang/rust/issues/48237","repository_url":"https://api.github.com/repos/rust-lang/rust","labels_url":"https://api.github.com/repos/rust-lang/rust/issues/48237/labels{/name}","comments_url":"https://api.github.com/repos/rust-lang/rust/issues/48237/comments","events_url":"https://api.github.com/repos/rust-lang/rust/issues/48237/events","html_url":"https://github.com/rust-lang/rust/issues/48237","id":297521807,"number":48237,"title":"wasm32-unknown-unknown not compatible with --crate-type=lib","user":{"login":"gurghet","id":420735,"avatar_url":"https://avatars3.githubusercontent.com/u/420735?v=4","gravatar_id":"","url":"https://api.github.com/users/gurghet","html_url":"https://github.com/gurghet","followers_url":"https://api.github.com/users/gurghet/followers","following_url":"https://api.github.com/users/gurghet/following{/other_user}","gists_url":"https://api.github.com/users/gurghet/gists{/gist_id}","starred_url":"https://api.github.com/users/gurghet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurghet/subscriptions","organizations_url":"https://api.github.com/users/gurghet/orgs","repos_url":"https://api.github.com/users/gurghet/repos","events_url":"https://api.github.com/users/gurghet/events{/privacy}","received_events_url":"https://api.github.com/users/gurghet/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-15T17:00:37Z","updated_at":"2018-02-15T21:18:33Z","closed_at":"2018-02-15T21:18:33Z","author_association":"NONE","body":"I tried to run `rustc` on a file without a main and instead of generating a `wasm` file like expected I got an rlib.\r\n\r\nThe command I tried is\r\n```bash\r\nrustc +nightly --crate-type=lib --target wasm32-unknown-unknown -O hello.rs\r\n```"}}
{"actor":{"display_login":"gsollazzo"}}