You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support stable Rust, and reduce dependence on internal Rust features. (#132)
Put all code that depends on nightly-only features behind a new
"nightly" feature, and add support for stable Rust.
And, add implementations of `memcpy` and other functions that LLVM calls so
that origin and its users no longer need to depend on the
compiler_internals crate.
And, introduce new "panic-handler", "panic-handler-abort", "eh-personality",
and "eh-personality-continue" features, so that users no longer need to
use `#[panic_handler]` or `#[lang = "eh_personality"]` in common cases.
And, add `origin::program::abort`, eliminating the need for users to use
`core::intrinsics::abort()`.
Together, these changes mean that origin and most of the example crates no
longer need `#![allow(internal_features)]`, `#![feature(lang_items)]`, or
`#![feature(core_intrinsics)]`, or the associated boilerplate code with
`#[panic_handler]` or `#[lang = "eh_personality"]`, or the explicit
dependency on `compiler_builtins` or the `extern crate
compiler_builtins;`.
0 commit comments