You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work on the lando crate, an extension of the crowbar crate which is a crate that uses your cpython bindings to generate dynamically linked rust bindings that can run on aws lambda. There's on implementation detail that's bubbled up through all three crates related to
/// 2. `py2_init`: "init" + $name. Necessary because macros can't use concat_idents!().
This bubbles up to crowbar and lando as an awkward interface for initializing python modules given the identifier trio. I've become very familiar with the concat_idents macro while looking at this problem space and discovered a potential solution in a crate called mashup. This crate allows you to dynamically generate idents on stable rust.
I work on the lando crate, an extension of the crowbar crate which is a crate that uses your cpython bindings to generate dynamically linked rust bindings that can run on aws lambda. There's on implementation detail that's bubbled up through all three crates related to
rust-cpython/src/lib.rs
Line 219 in 3d826eb
This bubbles up to crowbar and lando as an awkward interface for initializing python modules given the identifier trio. I've become very familiar with the concat_idents macro while looking at this problem space and discovered a potential solution in a crate called mashup. This crate allows you to dynamically generate idents on stable rust.
I have a working poc in my crate and brought this up with the crowbar folks
Since is kind of relevant for anything using the cpython crate I wanted to draw some attention here to get it on your radar.
The text was updated successfully, but these errors were encountered: