Jason Orendorff

Results 68 issues of Jason Orendorff

`enif_schedule_nif` comes with a contract, much like `enif_raise_exception`. It's hard to support safely. But we already support `enif_raise_exception` (see https://github.com/hansihe/rustler/blob/master/src/codegen_runtime.rs#L44 ). We could support `enif_schedule_nif` in the same way. Don't...

@mbellani and I observed hangs when shutting down our program, which uses `BaseConsumer` with these `ClientConfig` options: ```rust .set("enable.partition.eof", "false") .set("enable.auto.offset.store", "false") // application will set consumer offsets explicitly .set("enable.auto.commit",...

enhancement

The behavior of this query depends on the order of the alternatives in a `[...]` subquery. That can't be right. test.scm: ```scheme (block [ (type_cast_expression) (expression_statement (if_expression)) ]? @last .)...

:wave: Hi, everyone. I work on code search at GitHub and we ❤️ `metrics`. We have a panic hook that does `metrics::increment_counter!("panic");`. But we've found that this increment often doesn't...

C-core
E-complex
T-ergonomics

I have some code where we'd like to use `Lazy` values as fields of structs, which means boxing closures: ```rust type AnyLazy>; ``` The problem is that this type alias...

Currently, FunctionDeclarationInstantiation branches at step 26: ``` 26. If hasParameterExpressions is false, then a. NOTE Only a single lexical environment is needed for the parameters and top-level vars. ... 27....

needs editorial changes

Three mini-issues here: - [Documentation for `.header_read_timeout()`](https://docs.rs/hyper/latest/hyper/server/conn/http1/struct.Builder.html#method.header_read_timeout) doesn't mention that it requires `.timer()` or it'll panic. - The example in [the docs for `http1::Builder`](https://docs.rs/hyper/latest/hyper/server/conn/http1/struct.Builder.html) uses `header_read_timeout` without `timer`. It's not...

E-easy
A-docs

## Description Add an example of how to get the most out of Rust incremental builds. Also, changes to rust-toolchain.toml should invalidate the cache. ## Motivation and Context Our Rust...

I took an existing program, added a dependency on `jemallocator-global` in its Cargo.toml, built it with `--release`, and ran it under a profiler (Instruments). Observed: The profiler found stacks under...

The demo included in the crate-level doc-string doesn't render correctly. - As written, the circle that is supposed to follow the mouse is centered at a point twice as far...