Daniel Keep
Daniel Keep
Should also allow for specifying an alternate target.
Given that rust-lang/cargo#354 is now fixed, and I complained about Cargo not locking its files, it seems only fair that `cargo-script` should properly lock its own cache. One complication is...
Presumably, this would be `crates.io` and _possibly_ GitHub and/or raw Git urls. Something like: - `cargo script pkg:some-tool` - fetch, build and execute the latest version of the `some-tool` package...
Cheat sheet says `s:&mut S`; it hsould be `s:S`.
Consider the following sentence, which is in the crate's root documentation: > All the functions here are guarded by the [Pod](https://docs.rs/bytemuck/latest/bytemuck/trait.Pod.html) trait, which is a sub-trait of the [Zeroable](https://docs.rs/bytemuck/latest/bytemuck/trait.Zeroable.html) trait....
I believe the C# example is wrong. Based on [this SO answer](http://stackoverflow.com/questions/32812769/using-unicode-strings-in-dllimport-with-rust-dlls/32816043#32816043) and the [MSDN documentation on `CharSet`](https://msdn.microsoft.com/en-us/library/system.runtime.interopservices.charset.aspx), I believe the default marshalling of strings is UTF-16. The C# example...
Firstly, this is based on commit 5a80521 because the current HEAD doesn't typecheck on 64-bit. Checking out and building `wio` with `cargo build --release --target x86_64-pc-windows-msvc` with the latest version...
Right now, there's no example of how to scan hex numbers. That should be fixed...
Should probably do binary, octal (someone might be scanning UNIX permissions!) and hex. Possible names: - `int_bin`, `u8_oct`, `i32_hex` - `BinInt`, `OctU8`, `HexI32`
Handling errors is a bit of a pain at the moment, with RFC 70 having not happened yet, and no "nice" way of applying either `try!` or `unwrap` to a...