Use ar_archive_writer from sysroot for cg_clif

This commit is contained in:
bjorn3 2024-08-09 17:23:50 +00:00
parent af7ea3135d
commit 6e5873c08c
3 changed files with 1 additions and 11 deletions

View File

@ -20,15 +20,6 @@ version = "1.0.86"
source = "registry+https://github.com/rust-lang/crates.io-index" source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
[[package]]
name = "ar_archive_writer"
version = "0.3.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3f2bcb7cf51decfbbfc7ef476e28b0775b13e5eb1190f8b7df145cd53d4f4374"
dependencies = [
"object",
]
[[package]] [[package]]
name = "arbitrary" name = "arbitrary"
version = "1.3.2" version = "1.3.2"
@ -367,7 +358,6 @@ checksum = "08d43f7aa6b08d49f382cde6a7982047c3426db949b1424bc4b7ec9ae12c6ce2"
name = "rustc_codegen_cranelift" name = "rustc_codegen_cranelift"
version = "0.1.0" version = "0.1.0"
dependencies = [ dependencies = [
"ar_archive_writer",
"cranelift-codegen", "cranelift-codegen",
"cranelift-frontend", "cranelift-frontend",
"cranelift-jit", "cranelift-jit",

View File

@ -17,7 +17,6 @@ cranelift-object = { version = "0.110.1" }
target-lexicon = "0.12.0" target-lexicon = "0.12.0"
gimli = { version = "0.28", default-features = false, features = ["write"]} gimli = { version = "0.28", default-features = false, features = ["write"]}
object = { version = "0.36", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] } object = { version = "0.36", default-features = false, features = ["std", "read_core", "write", "archive", "coff", "elf", "macho", "pe"] }
ar_archive_writer = "0.3"
indexmap = "2.0.0" indexmap = "2.0.0"
libloading = { version = "0.8.0", optional = true } libloading = { version = "0.8.0", optional = true }

View File

@ -12,6 +12,7 @@
#![warn(unused_lifetimes)] #![warn(unused_lifetimes)]
// tidy-alphabetical-end // tidy-alphabetical-end
extern crate ar_archive_writer;
extern crate jobserver; extern crate jobserver;
#[macro_use] #[macro_use]
extern crate rustc_middle; extern crate rustc_middle;