<div class="container">
<h1>Recommended update for rust, rust1.68</h1>
<table class="table table-striped table-bordered">
<tbody>
<tr>
<th>Announcement ID:</th>
<td>SUSE-RU-2023:1765-1</td>
</tr>
<tr>
<th>Rating:</th>
<td>moderate</td>
</tr>
<tr>
<th>References:</th>
<td>
<ul>
</ul>
</td>
</tr>
<tr>
<th>Affected Products:</th>
<td>
<ul class="list-group">
<li class="list-group-item">Development Tools Module 15-SP4</li>
<li class="list-group-item">openSUSE Leap 15.4</li>
<li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Server 15 SP4</li>
<li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP4</li>
<li class="list-group-item">SUSE Manager Proxy 4.3</li>
<li class="list-group-item">SUSE Manager Retail Branch Server 4.3</li>
<li class="list-group-item">SUSE Manager Server 4.3</li>
</ul>
</td>
</tr>
</tbody>
</table>
<p>An update that contains one feature can now be installed.</p>
<h2>Description:</h2>
<p>This update for rust, rust1.68 fixes the following issues:</p>
<p>Changes in rust:</p>
<ul>
<li>Update to version 1.68.0 - for details see the rust1.68 package</li>
</ul>
<p>Changes in rust1.68:</p>
<ul>
<li>Re-add obsoletes on rust1.62 to prevent file conflicts.</li>
</ul>
<h1>Version 1.68.0 (2023-03-09)</h1>
<h2>Language</h2>
<ul>
<li>Stabilize default_alloc_error_handler
This allows usage of <code>alloc</code> on stable without requiring the
definition of a handler for allocation failure. Defining custom handlers is still unstable.</li>
<li>Stabilize <code>efiapi</code> calling convention.</li>
<li>Remove implicit promotion for types with drop glue</li>
</ul>
<h2>Compiler</h2>
<ul>
<li>Change <code>bindings_with_variant_name</code> to deny-by-default</li>
<li>Allow .. to be parsed as let initializer</li>
<li>Add <code>armv7-sony-vita-newlibeabihf</code> as a tier 3 target</li>
<li>Always check alignment during compile-time const evaluation</li>
<li>Disable "split dwarf inlining" by default.</li>
<li>Add vendor to Fuchsia's target triple</li>
<li>Enable sanitizers for s390x-linux</li>
</ul>
<h2>Libraries</h2>
<ul>
<li>Loosen the bound on the Debug implementation of Weak.</li>
<li>Make <code>std::task::Context</code> !Send and !Sync</li>
<li>PhantomData layout guarantees</li>
<li>Don't derive Debug for <code>OnceWith</code> & <code>RepeatWith</code></li>
<li>Implement DerefMut for PathBuf</li>
<li>Add O(1) <code>Vec -> VecDeque</code> conversion guarantee</li>
<li>Leak amplification for peek_mut() to ensure BinaryHeap's invariant is always met</li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><code>{core,std}::pin::pin!</code></li>
<li><code>impl From<bool> for {f32,f64}</code></li>
<li><code>std::path::MAIN_SEPARATOR_STR</code></li>
<li><code>impl DerefMut for PathBuf</code></li>
</ul>
<p>These APIs are now stable in const contexts:</p>
<ul>
<li><code>VecDeque::new</code></li>
</ul>
<h2>Cargo</h2>
<ul>
<li>Stabilize sparse registry support for crates.io</li>
<li><code>cargo build --verbose</code> tells you more about why it recompiles.</li>
<li>Show progress of crates.io index update even <code>net.git-fetch-with-cli</code> option enabled
<a id="1.68.0-Misc"></a></li>
</ul>
<h2>Misc</h2>
<h2>Compatibility Notes</h2>
<ul>
<li>Add <code>SEMICOLON_IN_EXPRESSIONS_FROM_MACROS</code> to future-incompat report</li>
<li>Only specify <code>--target</code> by default for <code>-Zgcc-ld=lld</code> on wasm</li>
<li>Bump <code>IMPLIED_BOUNDS_ENTAILMENT</code> to Deny + ReportNow</li>
<li><code>std::task::Context</code> no longer implements Send and Sync</li>
</ul>
<h2>Patch Instructions:</h2>
<p>
To install this SUSE Moderate update use the SUSE recommended
installation methods like YaST online_update or "zypper patch".<br/>
Alternatively you can run the command listed for your product:
</p>
<ul class="list-group">
<li class="list-group-item">
openSUSE Leap 15.4
<br/>
<code>zypper in -t patch openSUSE-SLE-15.4-2023-1765=1</code>
</li>
<li class="list-group-item">
Development Tools Module 15-SP4
<br/>
<code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP4-2023-1765=1</code>
</li>
</ul>
<h2>Package List:</h2>
<ul>
<li>
openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64)
<ul>
<li>rust1.68-debuginfo-1.68.0-150400.9.3.1</li>
<li>cargo1.68-1.68.0-150400.9.3.1</li>
<li>rust-1.68.0-150400.24.12.1</li>
<li>cargo1.68-debuginfo-1.68.0-150400.9.3.1</li>
<li>cargo-1.68.0-150400.24.12.1</li>
</ul>
</li>
<li>
openSUSE Leap 15.4 (aarch64 ppc64le s390x x86_64 nosrc)
<ul>
<li>rust1.68-1.68.0-150400.9.3.1</li>
</ul>
</li>
<li>
Development Tools Module 15-SP4 (aarch64 ppc64le s390x x86_64)
<ul>
<li>rust1.68-debuginfo-1.68.0-150400.9.3.1</li>
<li>cargo1.68-1.68.0-150400.9.3.1</li>
<li>rust-1.68.0-150400.24.12.1</li>
<li>cargo1.68-debuginfo-1.68.0-150400.9.3.1</li>
<li>cargo-1.68.0-150400.24.12.1</li>
</ul>
</li>
<li>
Development Tools Module 15-SP4 (aarch64 ppc64le s390x x86_64 nosrc)
<ul>
<li>rust1.68-1.68.0-150400.9.3.1</li>
</ul>
</li>
</ul>
<h2>References:</h2>
<ul>
<li>
<a href="https://jira.suse.com/browse/SLE-18626">https://jira.suse.com/browse/SLE-18626</a>
</li>
</ul>
</div>