Skip to content

Commit

Permalink
release v0.1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorge Aparicio committed Feb 8, 2017
1 parent ac6a1a3 commit ac28488
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 4 deletions.
18 changes: 17 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,21 @@ This project adheres to [Semantic Versioning](http:https://semver.org/).

## [Unreleased]

## [v0.1.9] - 2017-02-08

### Added

- Support for ARM MUSL targets.

### Changed

- The automatic lockfile update that happens every time `cross` is invoked
should no longer hit the network when there's no git dependency to add/update.

- The QEMU_STRACE variable is passed to the underlying Docker container. Paired
with `cross run`, this lets you get a trace of system call from the execution
of "foreign" (non x86_64) binaries.

## [v0.1.8] - 2017-01-21

### Added
Expand Down Expand Up @@ -108,7 +123,8 @@ This project adheres to [Semantic Versioning](http:https://semver.org/).

- Initial release. Supports 12 targets.

[Unreleased]: https://github.com/japaric/cross/compare/v0.1.8...HEAD
[Unreleased]: https://github.com/japaric/cross/compare/v0.1.9...HEAD
[v0.1.9]: https://github.com/japaric/cross/compare/v0.1.8...v0.1.9
[v0.1.8]: https://github.com/japaric/cross/compare/v0.1.7...v0.1.8
[v0.1.7]: https://github.com/japaric/cross/compare/v0.1.6...v0.1.7
[v0.1.6]: https://github.com/japaric/cross/compare/v0.1.5...v0.1.6
Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords = ["cross", "compilation", "testing", "tool"]
license = "MIT OR Apache-2.0"
name = "cross"
repository = "https://github.com/japaric/cross"
version = "0.1.8-dev"
version = "0.1.9"

[dependencies]
error-chain = "0.7.1"
Expand Down
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,28 @@ where libc was extracted.

[2] No `std` component available as of 2017-01-10

{3] libc = newlib
[3] libc = newlib

> **NOTE**
## Debugging

### QEMU_STRACE (v0.1.9+)

You can set the QEMU_STRACE variable when you use `cross run` to get a backtrace
of system calls from "foreign" (non x86_64) binaries.

```
$ cargo new --bin hello && cd $_
$ QEMU_STRACE=1 cross run --target aarch64-unknown-linux-gnu
9 brk(NULL) = 0x0000004000023000
9 uname(0x4000823128) = 0
(..)
9 write(1,0xa06320,14)Hello, world!
= 14
9 sigaltstack(0x4000823588,(nil)) = 0
9 munmap(0x0000004000b16000,16384) = 0
9 exit_group(0)
```

## Caveats / gotchas

Expand Down

0 comments on commit ac28488

Please sign in to comment.