Skip to content

Commit 14d66b2

Browse files
committed
Update cranelift, faerie and target-lexicon
1 parent 87d7b5c commit 14d66b2

File tree

3 files changed

+73
-89
lines changed

3 files changed

+73
-89
lines changed

Cargo.lock

Lines changed: 68 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,14 @@ edition = "2018"
1010
crate-type = ["dylib"]
1111

1212
[dependencies]
13-
#cranelift = "0.14.0"
14-
#cranelift-module = "0.14.0"
15-
#cranelift-simplejit = "0.14.0"
16-
#cranelift-faerie = "0.14.0"
17-
13+
# These have to be in sync with each other
1814
cranelift = { git = "https://github.com/CraneStation/cranelift.git" }
1915
cranelift-module = { git = "https://github.com/CraneStation/cranelift.git" }
2016
cranelift-simplejit = { git = "https://github.com/CraneStation/cranelift.git" }
2117
cranelift-faerie = { git = "https://github.com/CraneStation/cranelift.git" }
22-
target-lexicon = "0.2.0"
18+
target-lexicon = "0.3.0"
19+
faerie = "0.9.1"
20+
2321
#goblin = "0.0.17"
2422
ar = "0.6.1"
2523
bitflags = "1.0.3"
@@ -28,7 +26,6 @@ libc = "0.2.50"
2826
tempfile = "3.0.7"
2927
env_logger = "0.6"
3028
gimli = { git = "https://github.com/gimli-rs/gimli.git" }
31-
faerie = "0.7.1"
3229
indexmap = "1.0.2"
3330

3431
# Uncomment to use local checkout of cranelift

src/debuginfo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ impl<'a, 'tcx: 'a> DebugContext<'tcx> {
191191
let _: Result<()> = sections.for_each_mut(|id, section| {
192192
if !section.writer.slice().is_empty() {
193193
artifact
194-
.declare_with(id.name(), Decl::DebugSection, section.writer.take())
194+
.declare_with(id.name(), Decl::debug_section(), section.writer.take())
195195
.unwrap();
196196
}
197197
Ok(())

0 commit comments

Comments
 (0)