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

test: don't use TS_REUSE_ALLOCATOR on Darwin systems #3087

Merged
merged 1 commit into from Feb 27, 2024

Conversation

amaanq
Copy link
Member

@amaanq amaanq commented Feb 27, 2024

For some reason, the linker seems to behave a bit differently with -exported_symbols_list on macOS only for tests vs other operating systems, so we'll disable this for now

For some reason, the linker seems to behave a bit differently with `-exported_symbols_list` on macOS vs other operating systems, so we'll disable this for now
@amaanq amaanq changed the title test: don't use TS_REUSE_ALLOCATOR on Darwin systems during tests test: don't use TS_REUSE_ALLOCATOR on Darwin systems Feb 27, 2024
@amaanq amaanq merged commit eb35502 into tree-sitter:master Feb 27, 2024
13 checks passed
@@ -30,9 +30,6 @@ fn main() {
target_os = "dragonfly",
))]
println!("cargo:rustc-link-arg=-Wl,--dynamic-list=cli/dynamic-symbols.txt");

#[cfg(any(target_os = "macos", target_os = "ios"))]
println!("cargo:rustc-link-arg=-Wl,-exported_symbols_list,cli/dynamic-symbols-darwin.txt");
Copy link
Contributor

Choose a reason for hiding this comment

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

do we still need the dynamic-symbols-darwin.txt file?

Copy link
Member Author

Choose a reason for hiding this comment

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

not currently, but I sort of wanted to take a deeper dive and figure out why it doesn't work only for macOS, and see if I can fix it probably tomorrow.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, sounds good.

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.

None yet

2 participants