Ignore:
Timestamp:
08/12/2024 11:15:04 AM (6 weeks ago)
Author:
Xi Ruoyao <xry111@…>
Branches:
12.2, lazarus, trunk, xry111/for-12.3
Children:
6388281
Parents:
9c8dbc39
Message:

Update to cbindgen-0.27.0 (#20214)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xsoft/other/thunderbird.xml

    r9c8dbc39 rc48815ad  
    238238EOF</userinput></screen>
    239239
    240     <!-- https://github.com/rust-lang/rust-bindgen/pull/2689 -->
    241 <!--
    242     <para>
    243       Adapt the shipped <application>rust-bindgen</application> copy for
    244       LLVM-18 and later, and tell <command>cargo</command> we've modified
    245       the code of <application>rust-bindgen</application> so the checksum
    246       verification of this crate should be skipped:
    247     </para>
    248 
    249     <screen><userinput>sed -e "/match cursor.kind()/a                                    \
    250         CXCursor_LinkageSpec => return Err(ParseError::Recurse)," \
    251     -i third_party/rust/bindgen/ir/item.rs                        &amp;&amp;
    252 
    253 cat &gt;&gt; Cargo.toml &lt;&lt; EOF &amp;&amp;
    254 <literal>[patch.crates-io.bindgen_0_64_0]
    255 package = "bindgen"
    256 version = "0.64.0"
    257 path = "third_party/rust/bindgen"</literal>
    258 EOF
    259 
    260 sed -r '/name = "bindgen"/,+5 s/^source|^checksum/#&amp;/' \
    261     -i Cargo.lock</userinput></screen>
    262 -->
    263 
    264     <!-- https://hg.mozilla.org/mozilla-central/rev/ba6abbd36b49 -->
    265 <!--
    266     <para>
    267       Adapt the WebRTC code to use 64-bit timestamp to fix a build
    268       failure with Clang-18 and later:
    269     </para>
    270 
    271     <screen><userinput>sed 's/uint32_t timestamp/uint64_t timestamp/'                \
    272     -i dom/media/gmp-plugin-openh264/gmp-fake-openh264.cpp    \
    273        dom/media/gtest/TestGMPRemoveAndDelete.cpp             \
    274        dom/media/webrtc/libwebrtcglue/WebrtcGmpVideoCodec.cpp &amp;&amp;
    275 
    276 sed '/mInputImageMap/s/uint32_t/uint64_t/' \
    277     -i dom/media/webrtc/libwebrtcglue/WebrtcGmpVideoCodec.h</userinput></screen>
    278 
    279     <para>
    280       Remove several lines of Rust code only useful for ARM and failing to
    281       compile with Rustc-1.78.0 or newer:
    282     </para>
    283 
    284     <screen><userinput>sed '/cfg_attr/,/)]/d' -i gfx/qcms/src/lib.rs</userinput></screen>
    285 -->
     240    <!-- https://phabricator.services.mozilla.com/D219025 -->
     241    <para>
     242      Adapt two files for compatibility with cbindgen-0.27.0 or later:
     243    </para>
     244
     245    <screen><userinput>sed 's/input.try/&amp;_parse/' \
     246    -i servo/components/style_traits/values.rs &amp;&amp;
     247sed '0,/"Keyframe"/{//d}' -i servo/ports/geckolib/cbindgen.toml</userinput></screen>
    286248
    287249    <para>
Note: See TracChangeset for help on using the changeset viewer.