Browse Source

Merge pull request #1816 from bytecodealliance/pch/faerie_deprecation

Add deprecation notice to cranelift-faerie README and FaerieBuilder.
pull/1823/head
Pat Hickey 4 years ago
committed by GitHub
parent
commit
2e952b72d0
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      cranelift/faerie/README.md
  2. 6
      cranelift/faerie/src/backend.rs

5
cranelift/faerie/README.md

@ -2,3 +2,8 @@ This crate contains a library that enables
[Cranelift](https://crates.io/crates/cranelift)
to emit native object (".o") files, using the
[Faerie](https://crates.io/crates/faerie) library.
DEPRECATION NOTICE: the Cranelift developer team intends to stop maintaining
the `cranelift-faerie` crate and remove it from the `wasmtime` git repository
on or after August 3, 2020. We recommend users use its successor, the
`cranelift-object` crate.

6
cranelift/faerie/src/backend.rs

@ -34,6 +34,12 @@ impl FaerieBuilder {
/// enum to symbols. LibCalls are inserted in the IR as part of the legalization for certain
/// floating point instructions, and for stack probes. If you don't know what to use for this
/// argument, use `cranelift_module::default_libcall_names()`.
#[deprecated(
since = "0.65.0",
note = "the Cranelift developer team intends to stop maintaining the `cranelift-faerie`
crate and remove it from the `wasmtime` git repository on or after August 3, 2020. We
recommend users use its successor, the `cranelift-object` crate."
)]
pub fn new(
isa: Box<dyn TargetIsa>,
name: String,

Loading…
Cancel
Save