Skip to content

Instantly share code, notes, and snippets.

View golddranks's full-sized avatar
🤩
Developing Ganbare further!

Pyry Kontio golddranks

🤩
Developing Ganbare further!
View GitHub Profile
// A problem with type inference. A closure object is bound to cb
let cb = Box::new(move |state| {
let callgraph = cell.replace(None).unwrap();
visit::after_analysis(state, callgraph)
});
// And right after, cb is set to callback.
control.after_analysis.callback = cb;
~/r/diesel_musl_testcase (master|✔) $ ./build_musl_breaks.sh
Compiling pq-sys v0.4.4
Compiling byteorder v1.1.0
Running `rustc --crate-name byteorder /root/.cargo/registry/src/github.com-1ecc6299db9ec823/byteorder-1.1.0/src/lib.rs --crate-type lib --emit=dep-info,link -C opt-level=3 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=88b301ebcf94cd66 -C extra-filename=-88b301ebcf94cd66 --out-dir /workdir/target/x86_64-unknown-linux-musl/release/deps --target x86_64-unknown-linux-musl -L dependency=/workdir/target/x86_64-unknown-linux-musl/release/deps -L dependency=/workdir/target/release/deps --cap-lints warn`
Running `rustc --crate-name build_script_build /root/.cargo/registry/src/github.com-1ecc6299db9ec823/pq-sys-0.4.4/build.rs --crate-type bin --emit=dep-info,link -C opt-level=3 -C metadata=468ac15e19670456 -C extra-filename=-468ac15e19670456 --out-dir /workdir/target/release/build/pq-sys-468ac15e19670456 -L dependency=/workdir/target/release/deps --cap-lints warn`
Compiling un
@golddranks
golddranks / keybase.md
Created January 4, 2015 23:56
keybase.md

Keybase proof

I hereby claim:

  • I am GolDDranks on github.
  • I am golddranks (https://keybase.io/golddranks) on keybase.
  • I have a public key whose fingerprint is 0995 AEA7 6773 93BB 091D F80E DBC6 A66B 0386 0D2C

To claim this, I am signing this object: