Commit graph

5 commits

Author SHA1 Message Date
17805fa4a6 [oden] Garbage assets, need to rewrite to IO 2023-06-27 17:16:37 -07:00
e36ab17235 [oden-js] Ensure callbacks have 'static lifetime
Because we smuggle them through we need to make sure they're not
holding references that will go invalid- we can make no promises about
how long they stay alive. Although maybe bounding to context lifetime
is OK? But anyway.
2023-06-21 22:04:17 -07:00
c574fd8cb8 [oden] Native Modules 2023-06-21 06:19:14 -07:00
9f808cea31 [oden] The big lifetime removal
It turns out that rust can't really reason about the relationship
between the runtime lifetime and the context lifetime in a way that is
actually usable. This removes the lifetime stuff in favor of reference
counting the runtime itself, via a block that we embed in the
pointer. This, I think, it the least worst option here.
2023-06-19 08:28:26 -07:00
898b1fe129 [oden] Grab my incomplete QuickJS wrapper 2023-06-18 06:31:37 -07:00