-
Not a actually bug, but a strange warning....
I registered my hooks with the following line
```rust
static mut HOOKS: AnonHook = AnonHook { };
pgrx::hooks::register_hook(&mu…
-
I'd like to write my own dnsapi script for a specific cloud hoster, and have to save and load the value of a variable with dynamically generated name. This variable name will be generated at runtime.
…
-
The main Idea is to be able to do this
```rust
let mut test_vec = Vec3::ZERO;
*test_vec.xy_mut() = Vec2::ONE;
assert_eq!(test_vec, Vec3::new(1.0, 1.0, 0.0))
```
Here is something that works, but…
-
we're not super clear on what can be mutated and what cannot be.
For example, can this function call mutate `thing`?
```rust
let mut thing = 5;
stuff(thing);
```
imo we should make mutabil…
mimoo updated
2 weeks ago
-
if i have a function such as
f x()
can i reassign `x` ? and if so, what is its mutability ?
const var const x = 69
is this just undefined behaviour
-
auto-reduced (treereduce-rust):
````rust
struct Thingu {
Thingux: [X; -const {-X}] match ,
y: u32
}
````
original:
````rust
struct Thingu {
Thingux: [X; -const {…
-
Currently the `ConcurrentSlab` has an `RwLock`. As we don't do any concurrent processing in the compiler we should remove interior mutability. When profiling, the compiler seems to be spending ~80% of…
-
I'm just creating this to kick off a high-level tracking ticket for this major capability. We will want to get a formal product/design spec for this written up jointly between engineering and @prodale…
-
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/shiro/issues?q=is%3Aissue) and found no similar issues.
### Enhancement Request
First of all, this is neithe…
-
I have a function `fn f (reg ptr u8[N] r) -> reg ptr u8[N]` that uses a lot of registers, so I want to spill the argument before the call and unspill it after the call.
```
stack ptr u8[N] s;
s =…