Shihao Xia

Results 27 issues of Shihao Xia

with given input file: [in.zip](https://github.com/netvl/xml-rs/files/7271921/in.zip) and following code: ```rust fn main(){ let filepath = ""; let data = std::fs::read(filepath).unwrap(); let reader = xml::reader::EventReader::new(&data); for _ in reader.into_iter() {} } ```...

I followed the tutorial at https://sharksforarms.dev/posts/neovim-rust/ to set up a nvim environment for rust However, when I try to open an rust file in a directory contains Cargo.toml, it has...

for given input: [in.zip](https://github.com/lib-ruby-parser/lib-ruby-parser/files/7272221/in.zip) with following code: ```rust use lib_ruby_parser::{Parser, ParserOptions}; fn main() { let filepath = ""; let data = std::fs::read(filepath).unwrap(); let options = ParserOptions { buffer_name: String::from("(eval)"), record_tokens:...

Hi there, due to public new function available for type, there is an potential segmentation fault chance without any unsafe involved. ``` fn main() { let a = pkcs11::types::CK_ATTRIBUTE::new(123); a.get_bool();...

For given input file: [in.zip](https://github.com/simnalamburt/obj-rs/files/7239750/in.zip) The following code ```rust use std::io::Cursor; fn main(){ let filepath = "" let data = std::fs::read(filepath).unwrap(); let cursor = Cursor::new(data); let _: Result = obj::load_obj(cursor);...

flamegraph -o xxxxx.svg -- /some/binary After executed this command, the perf.data is generated but no svg file. --------------- .... (normal stdout) [ perf record: Woken up 4 times to write...

Hi there, Thanks for presenting this excellent work. I noticed that it currently worked at LLVM 7. Is it possible to migrate to LLVM 14 or other newer LLVM version?

based on the protocol, a Transfer event should be emitted. “A token contract which creates new tokens SHOULD trigger a Transfer event with the _from address set to 0x0 when...

```rust let listener = TcpListener::bind("0.0.0.0:60000").await?; println!("Listening on port 60000"); loop { // Accept incoming connections let (mut socket, addr) = listener.accept().await?; println!("Accepted connection from {:?}", addr); let jump_host = jump_host.clone();...

When using workerpool in Angular or Webpack environment, usually the web worker is written in Typescript. In Webpack 5, it already can bundle the worker script automatically if using the...