Skip to content

Conversation

@dylan-conway
Copy link
Member

What does this PR do?

fixes test-no-addons-resolution-condition.js

How did you verify your code works?

added a new test for throwing ERR_DLOPEN_DISABLED

@robobun
Copy link
Collaborator

robobun commented May 7, 2025

Updated 12:33 PM PT - May 8th, 2025

@dylan-conway, your commit 3b776f9 has 1 failures in Build #16290:


🧪   To try this PR locally:

bunx bun-pr 19530

That installs a local version of the PR into your bun-19530 executable, so you can run:

bun-19530 --bun

var transform_options = this.parent.transpiler.options.transform_options;

if (this.execArgv) |exec_argv| parse_new_args: {
var new_args: std.ArrayList([]const u8) = try .initCapacity(bun.default_allocator, exec_argv.len);
Copy link
Member Author

Choose a reason for hiding this comment

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

maybe we should convert the string impls to [] const []const u8 so we don't need to hold onto them. process.execArgv will cache the result, so this way we don't hold onto them in two places

Copy link
Member Author

@dylan-conway dylan-conway May 7, 2025

Choose a reason for hiding this comment

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

nvm, not doing this. parsing the new execArgv will only happen once

@dylan-conway dylan-conway requested review from a team and pfgithub and removed request for a team May 8, 2025 18:04
@dylan-conway dylan-conway requested a review from cirospaciari May 8, 2025 18:07
@Jarred-Sumner Jarred-Sumner merged commit 4a21013 into main May 10, 2025
60 of 61 checks passed
@Jarred-Sumner Jarred-Sumner deleted the dylan/no-addons branch May 10, 2025 01:07
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.

6 participants