<div class="container">
    <h1>Recommended update for rust, rust1.78</h1>

    <table class="table table-striped table-bordered">
        <tbody>
        <tr>
            <th>Announcement ID:</th>
            <td>SUSE-RU-2024:1761-1</td>
        </tr>
        
        <tr>
            <th>Rating:</th>
            <td>moderate</td>
        </tr>
        <tr>
            <th>References:</th>
            <td>
                <ul>
                    
                    
                        <li style="display: inline;">
                            <a href="https://jira.suse.com/browse/SLE-18626">jsc#SLE-18626</a>
                        </li>
                    
                </ul>
            </td>
        </tr>
        
        <tr>
            <th>Affected Products:</th>
            <td>
                <ul class="list-group">
                    
                        <li class="list-group-item">Development Tools Module 15-SP5</li>
                    
                        <li class="list-group-item">Development Tools Module 15-SP6</li>
                    
                        <li class="list-group-item">openSUSE Leap 15.5</li>
                    
                        <li class="list-group-item">openSUSE Leap 15.6</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Desktop 15 SP6</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise High Performance Computing 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Real Time 15 SP6</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server 15 SP6</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP5</li>
                    
                        <li class="list-group-item">SUSE Linux Enterprise Server for SAP Applications 15 SP6</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.78 fixes the following issues:</p>
<p>rust1.78 is shipped:</p>
<h1>Version 1.78.0 (2024-05-02)</h1>
<h2>Language</h2>
<ul>
<li>Stabilize <code>#[cfg(target_abi = ...)]</code></li>
<li>Stabilize the <code>#[diagnostic]</code> namespace and <code>#[diagnostic::on_unimplemented]</code> attribute</li>
<li>Make async-fn-in-trait implementable with concrete signatures</li>
<li>Make matching on NaN a hard error, and remove the rest of <code>illegal_floating_point_literal_pattern</code></li>
<li>static mut: allow mutable reference to arbitrary types, not just slices and arrays</li>
<li>Extend <code>invalid_reference_casting</code> to include references casting to bigger memory layout</li>
<li>Add <code>non_contiguous_range_endpoints</code> lint for singleton gaps after exclusive ranges</li>
<li>Add <code>wasm_c_abi</code> lint for use of older wasm-bindgen versions
  This lint currently only works when using Cargo.</li>
<li>Update <code>indirect_structural_match</code> and <code>pointer_structural_match</code> lints to match RFC</li>
<li>Make non-<code>PartialEq</code>-typed consts as patterns a hard error</li>
<li>Split <code>refining_impl_trait</code> lint into <code>_reachable</code>, <code>_internal</code> variants</li>
<li>Remove unnecessary type inference when using associated types inside of higher ranked <code>where</code>-bounds</li>
<li>Weaken eager detection of cyclic types during type inference</li>
<li><code>trait Trait: Auto {}</code>: allow upcasting from <code>dyn Trait</code> to <code>dyn Auto</code></li>
</ul>
<h2>Compiler</h2>
<ul>
<li>Made <code>INVALID_DOC_ATTRIBUTES</code> lint deny by default</li>
<li>Increase accuracy of redundant <code>use</code> checking</li>
<li>Suggest moving definition if non-found macro_rules! is defined later</li>
<li>Lower transmutes from int to pointer type as gep on null</li>
</ul>
<p>Target changes:</p>
<ul>
<li>Windows tier 1 targets now require at least Windows 10</li>
<li>Enable CMPXCHG16B, SSE3, SAHF/LAHF and 128-bit Atomics in tier 1 Windows</li>
<li>Add <code>wasm32-wasip1</code> tier 2 (without host tools) target</li>
<li>Add <code>wasm32-wasip2</code> tier 3 target</li>
<li>Rename <code>wasm32-wasi-preview1-threads</code> to <code>wasm32-wasip1-threads</code></li>
<li>Add <code>arm64ec-pc-windows-msvc</code> tier 3 target</li>
<li>Add <code>armv8r-none-eabihf</code> tier 3 target for the Cortex-R52</li>
<li>Add <code>loongarch64-unknown-linux-musl</code> tier 3 target</li>
</ul>
<p>Refer to Rust&#x27;s platform support page for more information on Rust&#x27;s tiered platform support.</p>
<h2>Libraries</h2>
<ul>
<li>Bump Unicode to version 15.1.0, regenerate tables</li>
<li>Make align_offset, align_to well-behaved in all cases</li>
<li>PartialEq, PartialOrd: document expectations for transitive chains</li>
<li>Optimize away poison guards when std is built with panic=abort</li>
<li>Replace pthread <code>RwLock</code> with custom implementation</li>
<li>Implement unwind safety for Condvar on all platforms</li>
<li>Add ASCII fast-path for <code>char::is_grapheme_extended</code></li>
</ul>
<h2>Stabilized APIs</h2>
<ul>
<li><code>impl Read for &amp;Stdin</code> https://doc.rust-lang.org/stable/std/io/struct.Stdin.html#impl-Read-for-%26Stdin</li>
<li>Accept non <code>&#x27;static</code> lifetimes for several <code>std::error::Error</code> related implementations</li>
<li>Make <code>impl&lt;Fd: AsFd&gt;</code> impl take <code>?Sized</code></li>
<li><code>impl From&lt;TryReserveError&gt; for io::Error</code> https://doc.rust-lang.org/stable/std/io/struct.Error.html#impl-From%3CTryReserveError%3E-for-Error</li>
</ul>
<p>These APIs are now stable in const contexts:</p>
<ul>
<li><code>Barrier::new()</code> https://doc.rust-lang.org/stable/std/sync/struct.Barrier.html#method.new</li>
</ul>
<h2>Cargo</h2>
<ul>
<li>Stabilize lockfile v4</li>
<li>Respect <code>rust-version</code> when generating lockfile</li>
<li>Control <code>--charset</code> via auto-detecting config value</li>
<li>Support <code>target.&lt;triple&gt;.rustdocflags</code> officially</li>
<li>Stabilize global cache data tracking</li>
</ul>
<h2>Misc</h2>
<ul>
<li>rustdoc: add <code>--test-builder-wrapper</code> arg to support wrappers such as RUSTC_WRAPPER when building doctests</li>
</ul>
<h2>Compatibility Notes</h2>
<ul>
<li>Many unsafe precondition checks now run for user code with debug assertions enabled
  This change helps users catch undefined behavior in their code, though the details of how much is checked are generally not stable.</li>
<li>riscv only supports split_debuginfo=off for now</li>
<li>Consistently check bounds on hidden types of <code>impl Trait</code></li>
<li>Change equality of higher ranked types to not rely on subtyping</li>
<li>When called, additionally check bounds on normalized function return type</li>
<li>Expand coverage for <code>arithmetic_overflow</code> lint</li>
<li>Fix detection of potential interior mutability in <code>const</code> initializers
  This code was accidentally accepted. The fix can break generic code that borrows a value of unknown type,
  as there is currently no way to declare "this type has no interior mutability". In the future, stabilizing
  the <code>Freeze</code> trait will allow proper support for such code.</li>
</ul>



    

    <h2>Patch Instructions:</h2>
    <p>
        To install this SUSE  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.5
                
                    
                        <br/>
                        <code>zypper in -t patch openSUSE-SLE-15.5-2024-1761=1 SUSE-2024-1761=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                openSUSE Leap 15.6
                
                    
                        <br/>
                        <code>zypper in -t patch openSUSE-SLE-15.6-2024-1761=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                Development Tools Module 15-SP5
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP5-2024-1761=1</code>
                    
                    
                
            </li>
        
            <li class="list-group-item">
                Development Tools Module 15-SP6
                
                    
                        <br/>
                        <code>zypper in -t patch SUSE-SLE-Module-Development-Tools-15-SP6-2024-1761=1</code>
                    
                    
                
            </li>
        
    </ul>

    <h2>Package List:</h2>
    <ul>
        
            
                <li>
                    openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586)
                    <ul>
                        
                            <li>cargo1.78-1.78.0-150500.11.3.1</li>
                        
                            <li>rust-1.78.0-150500.27.12.1</li>
                        
                            <li>cargo1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>rust1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>cargo-1.78.0-150500.27.12.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    openSUSE Leap 15.5 (aarch64 ppc64le s390x x86_64 i586 nosrc)
                    <ul>
                        
                            <li>rust1.78-1.78.0-150500.11.3.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    openSUSE Leap 15.5 (nosrc)
                    <ul>
                        
                            <li>rust1.78-test-1.78.0-150500.11.3.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>cargo1.78-1.78.0-150500.11.3.1</li>
                        
                            <li>rust-1.78.0-150500.27.12.1</li>
                        
                            <li>cargo1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>rust1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>cargo-1.78.0-150500.27.12.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    openSUSE Leap 15.6 (aarch64 ppc64le s390x x86_64 nosrc)
                    <ul>
                        
                            <li>rust1.78-1.78.0-150500.11.3.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>cargo1.78-1.78.0-150500.11.3.1</li>
                        
                            <li>rust-1.78.0-150500.27.12.1</li>
                        
                            <li>cargo1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>rust1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>cargo-1.78.0-150500.27.12.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    Development Tools Module 15-SP5 (aarch64 ppc64le s390x x86_64 nosrc)
                    <ul>
                        
                            <li>rust1.78-1.78.0-150500.11.3.1</li>
                        
                    </ul>
                </li>
            
        
            
                <li>
                    Development Tools Module 15-SP6 (aarch64 ppc64le s390x x86_64)
                    <ul>
                        
                            <li>cargo1.78-1.78.0-150500.11.3.1</li>
                        
                            <li>rust-1.78.0-150500.27.12.1</li>
                        
                            <li>cargo1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>rust1.78-debuginfo-1.78.0-150500.11.3.1</li>
                        
                            <li>cargo-1.78.0-150500.27.12.1</li>
                        
                    </ul>
                </li>
            
                <li>
                    Development Tools Module 15-SP6 (aarch64 ppc64le s390x x86_64 nosrc)
                    <ul>
                        
                            <li>rust1.78-1.78.0-150500.11.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>