+
Skip to content

Release 0.24.0 #555

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 2, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: ["ubuntu-latest"]
rust_channel: ["stable", "beta", "nightly", "1.38.0"]
rust_channel: ["stable", "beta", "nightly", "1.42.0"]
include:
- rust_channel: "stable"
os: "macOS-latest"
Expand Down Expand Up @@ -139,6 +139,19 @@ jobs:
- run: rustup target add ${{matrix.target}}
- run: cross test --target ${{matrix.target}}

rustfmt:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install rustup
run: curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --profile=minimal
- name: Install rust
run: |
rustup install stable
rustup default stable
rustup component add rustfmt
- run: cargo fmt --all -- --check

coverage:
runs-on: ubuntu-latest
steps:
Expand Down
35 changes: 32 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,43 @@

## 0.24.0

Not yet released
Released 2021/05/01.

### Breaking changes

* `read::LineRow::line` now returns Option<NonZeroU64>.
The `read::ColumnType::Column` variant now contains a NonZeroU64.
* Minimum Rust version increased to 1.42.0.

* Added `read::Dwarf::debug_aranges`.
[#539](https://github.com/gimli-rs/gimli/pull/539)

* Replaced `read::DebugAranges::items` with `read::DebugAranges::headers`.
[#539](https://github.com/gimli-rs/gimli/pull/539)

* Added `read::Operation::Wasm*`.
[#546](https://github.com/gimli-rs/gimli/pull/546)

* `read::LineRow::line` now returns `Option<NonZeroU64>`.
The `read::ColumnType::Column` variant now contains a `NonZeroU64`.
[#551](https://github.com/gimli-rs/gimli/pull/551)

* Replaced `read::Dwarf::debug_str_sup` with `read::Dwarf::sup`.
Deleted `sup` parameter of `read::Dwarf::load`.
Added `read::Dwarf::load_sup`.
[#554](https://github.com/gimli-rs/gimli/pull/554)

### Added

* dwarfdump: Supplementary object file support.
[#552](https://github.com/gimli-rs/gimli/pull/552)

### Changed

* Support `DW_FORM_addrx*` for `DW_AT_low_pc`/`DW_AT_high_pc` in `read::Dwarf`.
[#541](https://github.com/gimli-rs/gimli/pull/541)

* Performance improvement in `EndianReader`.
[#549](https://github.com/gimli-rs/gimli/pull/549)

--------------------------------------------------------------------------------

## 0.23.0
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "gimli"
version = "0.23.0"
version = "0.24.0"
authors = ["Nick Fitzgerald <fitzgen@gmail.com>", "Philip Craig <philipjcraig@gmail.com>"]
categories = ["development-tools::debugging", "development-tools::profiling", "parser-implementations"]
description = "A library for reading and writing the DWARF debugging format."
Expand Down Expand Up @@ -32,7 +32,7 @@ crossbeam = "0.8"
getopts = "0.2"
memmap = "0.7"
num_cpus = "1"
object = "0.22"
object = { version = "0.24", features = ["wasm"] }
rayon = "1.0"
regex = "1"
test-assembler = "0.1.3"
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,10 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
gimli = "0.23.0"
gimli = "0.24.0"
```

The minimum supported Rust version is 1.38.0.
The minimum supported Rust version is 1.42.0.

## Documentation

Expand Down
2 changes: 1 addition & 1 deletion examples/dwarfdump.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ fn add_relocations(
}
}
}
object::RelocationTarget::Section(_section_idx) => {}
object::RelocationTarget::Section(_) | object::RelocationTarget::Absolute => {}
}
if relocations.insert(offset, relocation).is_some() {
eprintln!(
Expand Down
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载