Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

quininer
Copy link
Contributor

Summary

Use env to enable sftrace support instead of enalbe it auto. this prevents the debug profile from not find symbols on Linux (because we cannot configure weak link).

Related links

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@Copilot Copilot AI review requested due to automatic review settings October 15, 2025 08:48
Copy link

netlify bot commented Oct 15, 2025

Deploy Preview for rspack canceled.

Name Link
🔨 Latest commit 7e7247f
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/68ef5ffb56c23a0008c39be3

@github-actions github-actions bot added the team The issue/pr is created by the member of Rspack. label Oct 15, 2025
Copy link
Contributor

@Copilot 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 changes the sftrace feature enablement from automatic activation in release-debug profile on specific platforms to manual enablement via the SFTRACE environment variable. This resolves symbol resolution issues on Linux debug profiles where weak linking cannot be configured.

  • Replaces platform-specific conditional logic with environment variable check
  • Removes automatic symbol mangling configuration
  • Simplifies sftrace feature activation mechanism

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

crates/node_binding/scripts/build.js Show resolved Hide resolved
Copy link
Contributor

📦 Binary Size-limit

Comparing 7e7247f to chore(deps): update patch npm dependencies (#11874) by renovate[bot]

🙈 Size remains the same at 47.66MB

Copy link

codspeed-hq bot commented Oct 15, 2025

CodSpeed Performance Report

Merging #11880 will not alter performance

Comparing x/env-sftrace (7e7247f) with main (10ef001)

Summary

✅ 17 untouched

@quininer quininer assigned quininer and SyMind and unassigned quininer Oct 16, 2025
@quininer quininer merged commit 7c2c4ba into main Oct 16, 2025
44 checks passed
@quininer quininer deleted the x/env-sftrace branch October 16, 2025 06:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.