<feed xmlns='http://www.w3.org/2005/Atom'>
<title>rust/src/bootstrap/cc_detect.rs, branch 1.27.2</title>
<subtitle>https://github.com/rust-lang/rust
</subtitle>
<id>http://git.dreamy.place/mirrors/rust/atom?h=1.27.2</id>
<link rel='self' href='http://git.dreamy.place/mirrors/rust/atom?h=1.27.2'/>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/'/>
<updated>2018-04-20T14:18:35+00:00</updated>
<entry>
<title>Update the Cargo submodule</title>
<updated>2018-04-20T14:18:35+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-04-18T15:43:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=924f8c70533b459bcc9ccee383a1ba8a8eaf72ad'/>
<id>urn:sha1:924f8c70533b459bcc9ccee383a1ba8a8eaf72ad</id>
<content type='text'>
</content>
</entry>
<entry>
<title>rustbuild: Tweak CFLAGS to various libstd pieces</title>
<updated>2018-03-13T15:28:27+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2018-03-12T20:35:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=1999a3fb4154961329ecfff7d70a6303471b996a'/>
<id>urn:sha1:1999a3fb4154961329ecfff7d70a6303471b996a</id>
<content type='text'>
* Pass `opt_level(2)` when calculating CFLAGS to get the right flags on iOS
* Unconditionally pass `-O2` when compiling libbacktrace

This should...

Close #48903
Close #48906
</content>
</entry>
<entry>
<title>rust: Import LLD for linking wasm objects</title>
<updated>2018-03-04T04:21:35+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-08-27T01:30:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=d69b24805b5071e5ec9e62d2777a761723644144'/>
<id>urn:sha1:d69b24805b5071e5ec9e62d2777a761723644144</id>
<content type='text'>
This commit imports the LLD project from LLVM to serve as the default linker for
the `wasm32-unknown-unknown` target. The `binaryen` submoule is consequently
removed along with "binaryen linker" support in rustc.

Moving to LLD brings with it a number of benefits for wasm code:

* LLD is itself an actual linker, so there's no need to compile all wasm code
  with LTO any more. As a result builds should be *much* speedier as LTO is no
  longer forcibly enabled for all builds of the wasm target.
* LLD is quickly becoming an "official solution" for linking wasm code together.
  This, I believe at least, is intended to be the main supported linker for
  native code and wasm moving forward. Picking up support early on should help
  ensure that we can help LLD identify bugs and otherwise prove that it works
  great for all our use cases!
* Improvements to the wasm toolchain are currently primarily focused around LLVM
  and LLD (from what I can tell at least), so it's in general much better to be
  on this bandwagon for bugfixes and new features.
* Historical "hacks" like `wasm-gc` will soon no longer be necessary, LLD
  will [natively implement][gc] `--gc-sections` (better than `wasm-gc`!) which
  means a postprocessor is no longer needed to show off Rust's "small wasm
  binary size".

LLD is added in a pretty standard way to rustc right now. A new rustbuild target
was defined for building LLD, and this is executed when a compiler's sysroot is
being assembled. LLD is compiled against the LLVM that we've got in tree, which
means we're currently on the `release_60` branch, but this may get upgraded in
the near future!

LLD is placed into rustc's sysroot in a `bin` directory. This is similar to
where `gcc.exe` can be found on Windows. This directory is automatically added
to `PATH` whenever rustc executes the linker, allowing us to define a `WasmLd`
linker which implements the interface that `wasm-ld`, LLD's frontend, expects.

Like Emscripten the LLD target is currently only enabled for Tier 1 platforms,
notably OSX/Windows/Linux, and will need to be installed manually for compiling
to wasm on other platforms. LLD is by default turned off in rustbuild, and
requires a `config.toml` option to be enabled to turn it on.

Finally the unstable `#![wasm_import_memory]` attribute was also removed as LLD
has a native option for controlling this.

[gc]: https://reviews.llvm.org/D42511
</content>
</entry>
<entry>
<title>ci: Upgrade Android SDK/NDK and refactor to use sdkmanager/avdmanager.</title>
<updated>2017-10-28T21:58:00+00:00</updated>
<author>
<name>kennytm</name>
<email>kennytm@gmail.com</email>
</author>
<published>2017-10-27T19:14:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=c46b04cbdd1bdf0183b121fac18513c0609962ee'/>
<id>urn:sha1:c46b04cbdd1bdf0183b121fac18513c0609962ee</id>
<content type='text'>
* SDK tools is upgraded to 27.0.0.
   - Refactored to use `sdkmanager`/`avdmanager` instead of the deprecated
     `android` tool.

* The Java version used by Android SDK is downgraded to OpenJDK-8, in order
  to download the SDK through HTTPS.

* NDK is upgrade to r15c.
   - Dropped support for android-9 (2.3 / Gingerbread), the minimal
     supported version is now android-14 (4.0 / Ice Cream Sandwich).
   - Changed the default Android compiler from GCC to clang.
   - For details of change introduced by NDK r15, see
     https://github.com/android-ndk/ndk/wiki/Changelog-r15.
</content>
</entry>
<entry>
<title>rustbuild: Support specifying archiver and linker explicitly</title>
<updated>2017-10-15T19:10:07+00:00</updated>
<author>
<name>Vadim Petrochenkov</name>
<email>vadim.petrochenkov@gmail.com</email>
</author>
<published>2017-10-10T20:06:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=9e0fc5ccd050201e77483b1efb2e6c76f47496f6'/>
<id>urn:sha1:9e0fc5ccd050201e77483b1efb2e6c76f47496f6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update to the `cc` crate</title>
<updated>2017-09-28T14:45:50+00:00</updated>
<author>
<name>Alex Crichton</name>
<email>alex@alexcrichton.com</email>
</author>
<published>2017-09-23T04:34:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.dreamy.place/mirrors/rust/commit/?id=7694ca419b3ade48e22982b69dec90eb45d8da73'/>
<id>urn:sha1:7694ca419b3ade48e22982b69dec90eb45d8da73</id>
<content type='text'>
This is the name the `gcc` crate has moved to
</content>
</entry>
</feed>
