<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/compiler/rustc_target/src/spec/wasm32_unknown_emscripten.rs, branch 1.71.0</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.71.0</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.71.0'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2022-09-01T13:54:52+00:00</updated>
<entry>
<title>rustc_target: Refactor internal linker flavors slightly</title>
<updated>2022-09-01T13:54:52+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-08-14T21:31:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=a0e21ff10506dc83deb5ef90c8bf3b308ae5b2b8'/>
<id>urn:sha1:a0e21ff10506dc83deb5ef90c8bf3b308ae5b2b8</id>
<content type='text'>
Remove one unstable user-facing linker flavor (l4-bender)
</content>
</entry>
<entry>
<title>rustc_target: Some more tests and fixes for linker arguments</title>
<updated>2022-06-25T18:57:08+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-06-17T20:53:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=456f65ec8b7ec815cab39929b31f4b6e181651c2'/>
<id>urn:sha1:456f65ec8b7ec815cab39929b31f4b6e181651c2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_target: Add convenience functions for adding linker arguments</title>
<updated>2022-06-25T18:55:56+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-06-17T14:38:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=46aba8850b1d4099dfdb060d070978a6ba70cad5'/>
<id>urn:sha1:46aba8850b1d4099dfdb060d070978a6ba70cad5</id>
<content type='text'>
They ensure that lld and non-lld linker flavors get the same set of arguments
</content>
</entry>
<entry>
<title>Set relocation_model to Pic on emscripten target</title>
<updated>2022-06-24T13:20:46+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-06-15T21:49:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=ada2accf8e659900c02e1f9a5f4015ae6d68f33e'/>
<id>urn:sha1:ada2accf8e659900c02e1f9a5f4015ae6d68f33e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Rollup merge of #98214 - petrochenkov:islike, r=compiler-errors</title>
<updated>2022-06-24T07:43:45+00:00</updated>
<author>
<name>Yuki Okushi</name>
<email>jtitor@2k36.org</email>
</author>
<published>2022-06-24T07:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=33eb3c05c54b306afea341dd233671a9f039156f'/>
<id>urn:sha1:33eb3c05c54b306afea341dd233671a9f039156f</id>
<content type='text'>
rustc_target: Remove some redundant target properties

`is_like_emscripten` is equivalent to `os == "emscripten"`, so it's removed.
`is_like_fuchsia` is equivalent to `os == "fuchsia"`, so it's removed.
`is_like_osx` also falls into the same category and is equivalent to `vendor == "apple"`, but it's commonly used so I kept it as is for now.

`is_like_(solaris,windows,wasm)` are combinations of different operating systems or architectures (see compiler/rustc_target/src/spec/tests/tests_impl.rs) so they are also kept as is.

I think `is_like_wasm` (and maybe `is_like_osx`) are sufficiently closed sets, so we can remove these fields as well and replace them with methods like `fn is_like_wasm() { arch == "wasm32" || arch == "wasm64" }`.
On other hand, `is_like_solaris` and `is_like_windows` are sufficiently open and I can imagine custom targets introducing other values for `os`.
This is kind of a gray area.
</content>
</entry>
<entry>
<title>Set no_default_libraries: false in wasm32_emscripten target</title>
<updated>2022-06-23T00:43:10+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-06-23T00:43:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b96ae9b20442b59c471baec6c4d612e3434d893c'/>
<id>urn:sha1:b96ae9b20442b59c471baec6c4d612e3434d893c</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustc_target: Remove some redundant target properties</title>
<updated>2022-06-17T22:09:20+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2022-06-17T22:01:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=37fd2941a1290a287935988641dc14233ee5e236'/>
<id>urn:sha1:37fd2941a1290a287935988641dc14233ee5e236</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Clean up</title>
<updated>2022-06-09T21:07:08+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-06-09T21:07:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=b32238ae6f788bf14b24c46e1e9224c21dd59846'/>
<id>urn:sha1:b32238ae6f788bf14b24c46e1e9224c21dd59846</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove ERROR_ON_UNDEFINED_SYMBOLS according to sbc100's comments</title>
<updated>2022-06-09T20:37:38+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-06-09T20:37:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9f305d3fa5a99661172de54dbf3300634e0e5dfc'/>
<id>urn:sha1:9f305d3fa5a99661172de54dbf3300634e0e5dfc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Remove -sASSERTIONS=1 from wasm32_unknown_emscripten default link args</title>
<updated>2022-06-09T19:54:17+00:00</updated>
<author>
<name>Hood Chatham</name>
<email>roberthoodchatham@gmail.com</email>
</author>
<published>2022-06-09T19:52:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=db14d81098a9eb4d46880fa905f71a204b994942'/>
<id>urn:sha1:db14d81098a9eb4d46880fa905f71a204b994942</id>
<content type='text'>
This is a debug setting. We should only make debug builds if user requests
a debug build. Currently this is inserted in release builds.

Furthermore, it would be better to insert these settings in --pre-link-args
because then it would be possible to override them if appropriate. Because
these are inserted at the end, it is necessary to patch emscripten to remove
them.
</content>
</entry>
</feed>
