Skip to content

Commit

Permalink
Prepare for inclusion into libstd
Browse files Browse the repository at this point in the history
This applies the same change as gimli-rs/gimli#503 to this crate.
  • Loading branch information
alexcrichton committed Jul 6, 2020
1 parent e058f17 commit ecfedeb
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ smallvec = { version = "1", default-features = false, optional = true }
rustc-demangle = { version = "0.1", optional = true }
cpp_demangle = { version = "0.2", default-features = false, optional = true }

# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
core = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-core' }
alloc = { version = '1.0.0', optional = true, package = 'rustc-std-workspace-alloc' }
compiler_builtins = { version = '0.1.2', optional = true }

[dev-dependencies]
memmap = "0.7"
clap = "2"
Expand All @@ -41,6 +47,10 @@ default = ["rustc-demangle", "cpp_demangle", "std-object", "fallible-iterator",
std = ["gimli/std"]
std-object = ["std", "object", "object/std", "object/compression", "gimli/endian-reader"]

# Internal feature, only used when building as part of libstd, not part of the
# stable interface of this crate.
rustc-dep-of-std = ['core', 'alloc', 'compiler_builtins', 'gimli/rustc-dep-of-std']

[[test]]
name = "output_equivalence"
harness = false
Expand Down

0 comments on commit ecfedeb

Please sign in to comment.