<feed xmlns='http://www.w3.org/2005/Atom'>
<title>linux/poky.git/meta/recipes-devtools/rust/rust.inc, branch nanbield-4.3.2</title>
<subtitle>Mirror of git.yoctoproject.org/poky</subtitle>
<id>https://git.enea.com/cgit/linux/poky.git/atom?h=nanbield-4.3.2</id>
<link rel='self' href='https://git.enea.com/cgit/linux/poky.git/atom?h=nanbield-4.3.2'/>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/'/>
<updated>2022-12-28T23:59:56+00:00</updated>
<entry>
<title>rust: Merge .inc into .bb</title>
<updated>2022-12-28T23:59:56+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2022-12-28T15:23:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=510ecb586f50d4b701cd079e8900e016e37eb79e'/>
<id>urn:sha1:510ecb586f50d4b701cd079e8900e016e37eb79e</id>
<content type='text'>
(From OE-Core rev: a09bcc7db13a7308f523d985332e96461b8feeec)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Enable building rust from stable, beta and nightly channels</title>
<updated>2022-12-21T10:16:31+00:00</updated>
<author>
<name>Alejandro Hernandez Samaniego</name>
<email>alejandro@enedino.org</email>
</author>
<published>2022-12-17T16:20:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=cb33d63060eee74823482de07c1c50a4933ab8f1'/>
<id>urn:sha1:cb33d63060eee74823482de07c1c50a4933ab8f1</id>
<content type='text'>
Rust follows the train release model via the stable, beta and nightly channels,
by default we build rust from the stable channel, however there are certain
features which are only available in the beta or nightly channels.

Make these channels available by setting a RUST_CHANNEL variable which defaults
to stable making this change transparent to the user.

The snapshot version used by rust during its compilation wont necessarily match
the version being built, specially if were building from an unstable channel,
to avoid confusion rename this to SNAPSHOT_VERSION and use RUST_VERSION for the
version to be built, which is automatically defined to PV.

Append -beta or -nightly to rusts PV for signature awareness.

It is important to note that this does not build rust from the beta/nightly
published tarball (which today build rust v1.67.0 and v1.68.0 respectively),
instead this builds rust from the current selected version (1.66.0) and enables
the beta/nightly features for that version.

Setting the variable RUST_CHANNEL=nightly results in the following:

$ rustc -Vv
rustc 1.66.0-nightly

(From OE-Core rev: 807a52686682d0d0a151ea3dadd99880feb67cc0)

Signed-off-by: Alejandro Hernandez Samaniego &lt;alejandro@enedino.org&gt;
Signed-off-by: Alexandre Belloni &lt;alexandre.belloni@bootlin.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: update 1.65.0 -&gt; 1.66.0</title>
<updated>2022-12-17T23:49:56+00:00</updated>
<author>
<name>Alex Kiernan</name>
<email>alex.kiernan@gmail.com</email>
</author>
<published>2022-12-16T12:06:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e55f3f911f0bf53de488b44eda5e8f768a6a721d'/>
<id>urn:sha1:e55f3f911f0bf53de488b44eda5e8f768a6a721d</id>
<content type='text'>
Drop backported patch ENOTSUP constant for riscv32/musl.

Release notes:
  https://blog.rust-lang.org/2022/12/15/Rust-1.66.0.html

License-Update: Upstream has added Unicode Terms of Use license
  (Unicode-TOU).
(From OE-Core rev: e6a9e1ea7be842dcde109e952fbc7dc08d1577a2)

Signed-off-by: Alex Kiernan &lt;alex.kiernan@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Use libc++ runtime when using clang with llvm runtime</title>
<updated>2022-09-12T07:33:56+00:00</updated>
<author>
<name>Khem Raj</name>
<email>raj.khem@gmail.com</email>
</author>
<published>2022-09-11T23:28:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=f212ad190c065509bb9d65ae3f4a619469a90a85'/>
<id>urn:sha1:f212ad190c065509bb9d65ae3f4a619469a90a85</id>
<content type='text'>
meta-clang has options when it comes to C++ runtime, default is to use
gnu runtime, other options are llvm runtime and android runtime. This
patch helps when a distro is using llvm runtime for C/C++ runtime. It
informs the rust build system about right C++ runtime to configure for
when such a setting is used.

(From OE-Core rev: 521872ab2cac092c88446730772cb8c4e22b0cdc)

Signed-off-by: Khem Raj &lt;raj.khem@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Enable verbose-tests to get the test results in readable format</title>
<updated>2022-09-05T11:55:09+00:00</updated>
<author>
<name>pgowda</name>
<email>pgowda.cve@gmail.com</email>
</author>
<published>2022-09-04T07:06:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=3a804fa64eddbe97daf214a458e243e9c413a803'/>
<id>urn:sha1:3a804fa64eddbe97daf214a458e243e9c413a803</id>
<content type='text'>
Emits complete details regarding the test results to understand
and debug from logfiles

(From OE-Core rev: 78aecd6d4e443cb467e9a8007f2db29943dfdd1f)

Signed-off-by: pgowda &lt;pgowda.cve@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Add linker configurations for cross compilation</title>
<updated>2022-09-05T11:55:09+00:00</updated>
<author>
<name>pgowda</name>
<email>pgowda.cve@gmail.com</email>
</author>
<published>2022-09-04T07:04:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=2b24fd87895ae926d7deda1ba0c825ad42475c9b'/>
<id>urn:sha1:2b24fd87895ae926d7deda1ba0c825ad42475c9b</id>
<content type='text'>
Adds the cross compilation linker for build, host and target.
Ensure the main rust config has the appropriate sections added
to match the configurations.

(From OE-Core rev: 02133f92c56c90a5365985b515953e4136e112aa)

Signed-off-by: pgowda &lt;pgowda.cve@gmail.com&gt;
Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Remove unneeded RUST_TARGETGENS settings</title>
<updated>2022-08-12T10:46:26+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-10T20:46:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=83e7f668ae6b697bfb89eaee80609bd8d509ba71'/>
<id>urn:sha1:83e7f668ae6b697bfb89eaee80609bd8d509ba71</id>
<content type='text'>
These match the default from the class so drop them. We then always
generate all targets so remove the configuration from the class.

(From OE-Core rev: e4d56256936c55bab2bf2934ccbde9157ef7dc57)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Ensure buildpaths are handled in debug symbols correctly</title>
<updated>2022-08-08T14:44:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-05T13:02:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=1e8f4ee56ad1c75ec9d52c4f8458de137b70d9c1'/>
<id>urn:sha1:1e8f4ee56ad1c75ec9d52c4f8458de137b70d9c1</id>
<content type='text'>
To ensure buildpaths aren't encoded in the debug symbol output, ensure
we pass our prefix remapping compiler options in.

(From OE-Core rev: c7a529743560c37973787e4ab2433cb7485afb86)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Fix musl builds</title>
<updated>2022-08-08T14:44:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-05T13:01:22+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=e1dcfcdbfa65c8f5316a55abd1cb5e6762b609e9'/>
<id>urn:sha1:e1dcfcdbfa65c8f5316a55abd1cb5e6762b609e9</id>
<content type='text'>
Musl targets need a sysroot set to find the musl static libraries. Set this
appropriately in musl builds.

(From OE-Core rev: 1c5ab57ddda393631ce2da97ef5a876a2020d51f)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
<entry>
<title>rust: Enable nativesdk and target builds + replace rust-tools-cross-canadian</title>
<updated>2022-08-08T14:44:20+00:00</updated>
<author>
<name>Richard Purdie</name>
<email>richard.purdie@linuxfoundation.org</email>
</author>
<published>2022-08-05T12:55:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.enea.com/cgit/linux/poky.git/commit/?id=16b4ac3f558fda6e1c3bb51bef0803836b96cf62'/>
<id>urn:sha1:16b4ac3f558fda6e1c3bb51bef0803836b96cf62</id>
<content type='text'>
Enable rust target builds as well as nativesdk-rust for the sdk. Merge
the builds of rust-tools components into the rust build, packaged separately
since this is a lot more efficient and saves rebuilding core rust multiple
times. The tools are not target specific so nativesdk-rust-tools suffices
and we can drop the cross canadian piece.

(From OE-Core rev: b9b0cd99cdc77e7a90e5fd5711e706ebe64c7b6b)

Signed-off-by: Richard Purdie &lt;richard.purdie@linuxfoundation.org&gt;
</content>
</entry>
</feed>
