Skip to content

Update for rust nightly

Jeremy Soller requested to merge bjorn3:rust_submodule_update into master

Created by: bjorn3

Problem: Rust now needs the Carrier trait for the ? operator, but the libcore of the currently used rust commit contains no Carrier trait, so current rust fails building redox. Also drop flags do not exist any more also causing redox to fail building.

Solution: Update the rust submodule to the latest commit and remove all references to unsafe_no_drop_flag and filling_drop

Changes introduced by this pull request:

  • Rust submodule updated
  • Remove references to #![feature(unsafe_no_drop_flag)]
  • Remove references to #[unsafe_no_drop_flag]
  • Remove references to #![feature(filling_drop)]

Drawbacks: Redox may not compile with currently good rust versions.

Fixes: #702 (closed)

State: ready, but does not solve the problem completely, because peg-rs does not compile on latest nightly

Merge request reports