Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rust frontend electric boogaloo #1

Conversation

charmoniumQ
Copy link

@charmoniumQ charmoniumQ commented Jul 23, 2024

I am trying to integrate your stuff with my stuff which involves a few changes in prov_ops.h and better glue code. I saw the note that "this might have to be merged into the top-level flake" and made it so. Also I think prov_ops.h makes sense as its own Nix package that libprobe and probe_* depend on.

I noticed this has lots of unrelated changes from main. I'm going to try doing a rebase instead of a merge or something like that.

Ex-32 and others added 30 commits June 24, 2024 14:04
Update the .envrc for probe_frontend to automatically run make on
libprobe, as well as export the __PROBE_LIB environment variable so that
the frontend can find the libprobe.so
Co-authored-by: Sam Grayson <sam@samgrayson.me>
Removes a lot of details that are usually abstracted by libraries when
printing for humans. In contrast with some of the code review comments I
left mtime and errno field because I feel those are useful for human
readers; even if all a human is likley to do with errno is "was it
zero?"
This commit addresses serveral points raised durring the last
code-review (and a few that weren't):

- Restructured arena.rs to read top-down.
- Refactored child process code to use std::process instead of
subprocess crate.
- Cleaned up arena pointer resolition to use less unsafe code.
- [INFO] Better log messages.
Co-authored-by: Sam Grayson <sam@samgrayson.me>
the structs now get converted to camel case at the rust level instead of
the python level meaning python doesn't have to do any type name
translation. Also strips out redundant field prefixes from the rust
structs (which also solves the issue for python).
@Ex-32 Ex-32 deleted the branch Ex-32:rust-frontend July 26, 2024 13:33
@Ex-32 Ex-32 closed this Jul 26, 2024
@charmoniumQ
Copy link
Author

Closed in favor of charmoniumQ#36 and charmoniumQ#37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants