---
# System prepended metadata

title: Meeting 2023-01-25
tags: [meeting notes]

---

# Meeting 2023-01-25

* [ ] Unstable features in the language and toolchain (Miguel)
  * feature(const_refs_to_cell)
  Gary: We only need it for `offset_of!`
  * toolchain:
    * Boqun: can we make `bindgen` work on inline static function? Please?
        * Bjorn: Not without embedding a C to Rust compiler :)
        * :(
        * 
Could we make a marco `c_code!`
```rust=

c_code!{
    static inline int func(struct some_struct *s)
    {
        return s->field_m;
    }
}
```

Translate to

```rust
pub fn func(s :* const some_struct ) -> i32 {
    unsafe { (*s).field_m }
}
```

?
* [ ] Inevitable (re)implementation of atomics in asm
    * More information: [Memory Model Gaps](https://hackmd.io/2c65VAzsTNyr4QVkk72DYg)
    * basically if the variables are also touched at C side, you will need to use a different set of atomics unless you can prove Rust/LLVM atomics work for every possible execution.
    
* [ ] Meeting with Asahi Lina
  * 1300 UTC except Wed/Fri
  * List of confirm attendants: Miguel 