-
When running the following code with the official binary `cling_2020-11-05_ROOT-centos7`
```cpp
#include
#include
std::future f2 = std::async(std::launch::async, []{ return 8; });
```
I am rec…
-
Looking at async-std commit history, it's practically a dead project, so I think it's wise to start migrating the codebase to tokio.
-
Execute the following transaction on a PostgreSQL database:
```sql
BEGIN;
CREATE TYPE foo AS (x integer);
CREATE DOMAIN bar AS foo NOT NULL;
CREATE TYPE fizz AS (y bar);
CREATE…
-
### Code
- https://github.com/Turbo87/crates.io/commits/ice/async-me/
### Meta
`rustc --version --verbose`:
```
rustc 1.82.0 (f6e511eec 2024-10-15)
binary: rustc
commit-hash: f6e511eec7342f59a2…
-
Somehow config errors are suppressed if the the server runs in async mode.
For example if i'm using a invalid `.bindaddr("127.0.0")`. If used with `.run()` i get a exception
```
(2024-09-03 14…
-
```toml
hyper = { version = "=1.5.1", features = ["client", "http1"] }
hyper-util = { version = "=0.1.10", features = ["http1", "tokio", "server"] }
```
```text
MacBook Pro 16-inch, 2019
2.4 G…
-
I tried this code:
```rust
fn main() {
let foo: &dyn Send = &async {
let cell = &std::cell::Cell::new(1234);
async {}.await;
cell.set(5678);
};
}
```
I expected to …
-
I would expect [the following code](https://godbolt.org/z/35KMqqWjP) produced a `Future::poll()` impl with the `noinline` attribute.
```rust
#![feature(noop_waker)]
use std::task::{Context, W…
-
#### Name of the game:
Alter AILA Genesis https://rmarchiv.de/games/630
#### Player platform:
Android and Linux (probably all)
#### Attach files (as a .zip archive or link them)
[Save0…
-
The current specification of `schedule_from` algorithm has the following definition for `impls-for::complete`:
```c++
[](auto, auto& state, auto& rcvr, Tag, Args&&... args) noexcept -> void {
usi…