Skip to content

Conversation

@tokatoka
Copy link
Member

No description provided.

@tokatoka tokatoka requested a review from Copilot November 20, 2025 15:34
Copilot finished reviewing on behalf of tokatoka November 20, 2025 15:37
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR modifies the Nyx build process to build QEMU and packer components in the Cargo target directory instead of the source directory. This helps keep build artifacts organized and separated from source code.

Key Changes:

  • Updated build.rs to determine the target directory from OUT_DIR and pass it to the build script
  • Modified build_nyx_support.sh to accept a target directory parameter and build components there
  • Updated the sed command to reference Makefile.libxdc from the script directory instead of a relative path

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
crates/libafl_nyx/build.rs Calculates target directory path and passes it as an argument to the build script
crates/libafl_nyx/build_nyx_support.sh Accepts target directory parameter, creates it, and builds QEMU/packer there; updates sed command to use absolute path for Makefile.libxdc

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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