Ximin Luo

Results 364 comments of Ximin Luo

> why is ar needed to extract from the archives? How come linking it in with rustc doesn't work? clang's builtins contains all the symbols, but this crate defines rust...

I tried to fix it in the latest commit but it seems now CI is not running at all? Are you able to see what's wrong with it?

I just had to rebase to the latest master, but having trouble figuring out the current failure. Will keep trying.

The new bzip2 (C library) maintainer has actually started [rewriting it in rust](https://people.gnome.org/~federico/blog/bzip2-in-rust-basic-infra.html).

Sadly, `--all-features-recursive` would result in cycles like: ~~~~ ('clippy', 'v0.0.206') ('clippy_lints', 'v0.0.206') ('cargo_metadata', 'v0.5.5') ('error-chain', 'v0.11.0') ('backtrace', 'v0.3.8') ('addr2line', 'v0.6.0') ('cpp_demangle', 'v0.2.9') ('afl', 'v0.3.2') ('clap', 'v2.31.2') ('clippy', 'v0.0.206') ~~~~ I...

Looks like go is not performing relocations when linking the syso into the binary, `objdump -rS` of the syso file has expected lines like: ~~~~ 0000000000000000 : #[no_mangle] pub extern...

Looks like this is the same issue mentioned near the end of your original blog post, but unfortunately `cgo_import_dynamic` is not allowed these days... :(

Might be fixed by https://go-review.googlesource.com/c/go/+/94675

It's fine, we can just run the test as `script -c 'cargo test' /dev/null` which is the normal solution for this sort of thing.

I'm simply [patching the path](https://anonscm.debian.org/cgit/users/infinity0/treesheets.git/tree/debian/patches/use-fhs-paths.patch#n6) in Debian (and here is the [installation layout](https://packages.debian.org/sid/amd64/treesheets/filelist)) but one could probably make this configurable via cmake. Also I'm happy to have a co-maintainer for...