Donough Liu

Results 48 comments of Donough Liu

I [forked](https://github.com/ldm0/markdown-benches-rs) @Keats 's benching repo, tested with latest version of two crates and got astonishing results(i7-7700HQ): ``` test bench_comrak_article ... bench: 415,293 ns/iter (+/- 93,497) test bench_comrak_awesome_rust ... bench:...

Related things about Rustc removing f128: 1. 2. 3. >f128 isn't supported across all LLVM backends in sane ways. There are ABI issues with it. It seems that using f128...

cc @emilio Do we have any solution on filtering out things related to a primitive type?

Should be reopen. The usage output is still not correct.

@pksunkara Check this: ```rust let m = clap::App::new("hello") .bin_name("deno") .arg(Arg::new("pos1").takes_value(true)) .arg(Arg::new("option2").long("option2").takes_value(false)) .arg(Arg::new("pos2").takes_value(true)) .group( ArgGroup::new("arg2") .args(&["pos2", "option2"]) .required(true), ) .try_get_matches(); dbg!(m); ``` with: ``` cargo run -- --option2 abcd ``` You...

> Is this issue solved? Nope, currently.

This works: ```rust use clap; use clap::Arg; use clap::ArgGroup; use clap::AppSettings; fn main() { let app = clap::App::new("hello") .bin_name("deno") .setting(AppSettings::AllowMissingPositional) .arg(Arg::new("option1").long("option1").takes_value(false)) .arg(Arg::new("pos1").takes_value(true)) .arg(Arg::new("pos2").takes_value(true)) .group( ArgGroup::new("arg1") .args(&["pos1", "option1"]) .required(true), ) .get_matches();...

The problem is the callback receives unprefixed identifier, like the AVMEDIA_TYPE_VIDEO for AVMediaType_AVMEDIA_TYPE_VIDEO, which makes it impossible to trim out the AVMediaType. So depending on the https://github.com/rust-lang/rust-bindgen/issues/777 is impossible.