Donough Liu
Donough Liu
Currently blocked on a vcpkg issue(some dependency libs not automatically found by vcpkg). Linked issue: https://github.com/microsoft/vcpkg/issues/9571
Currently we doesn't pay much attention on when should the bindings being regenerated and when should the project being build. For example we need to take care of the `pkg_confg::Config::env_var`.
Current we got enum like this: ```rust pub const AVMediaType_AVMEDIA_TYPE_NB: AVMediaType = 5; ``` Which is not good to use. And the rust-bindgen provides us several options: However they all...
Closes #429 ~~Marked as draft since tests haven't been added.(Go to bed now :-P)~~
Fixes #56 Remove some(4) outdated TODOs by the way.
```rust fn main() { // This already compiles let _: &i32 = &Box::new(1i32); // This doesn't compile until this PR. let _: &i32 = & { Box::new(1i32) }; } ```...
ref: https://github.com/rust-lang/rust/pull/83850#issuecomment-1270598506
On appending nested message, if package is empty, wrong `fq_message_name` is generated(e.g. `..M.SubMessage` in this case), which leads to codegen failure. Making `CodeGenerator::package` vec and removing the string hacks solve...
Developer might install OpenSSL via package manager, probing it with pkg-config will make life easier. `rust-openssl` does this too https://github.com/sfackler/rust-openssl/blob/2c0c391f8abea99abdf016175d5d7c257891541d/openssl-sys/build/find_normal.rs#L194