Skip to content

Guard --yjit-stats behind #[cfg(feature = "stats")]#6409

Merged
maximecb merged 5 commits intoruby:masterfrom
Shopify:yjit_guard_stats
Sep 20, 2022
Merged

Guard --yjit-stats behind #[cfg(feature = "stats")]#6409
maximecb merged 5 commits intoruby:masterfrom
Shopify:yjit_guard_stats

Conversation

@maximecb
Copy link
Contributor

@eileencodes ran into an issue where std::arch::is_aarch64_feature_detected!("lse") is not supported by rust 1.59, and so compilation fails.

More broadly, maybe we should check that we can at least compile with Rust 1.58.1 on the arm64 CI, but in the mean time, guarding this behind the stats feature should make it so that YJIT will build in release mode on those older Rust versions.

@matzbot matzbot requested a review from a team September 20, 2022 20:21
@maximecb maximecb merged commit d3733c2 into ruby:master Sep 20, 2022
@maximecb maximecb deleted the yjit_guard_stats branch September 20, 2022 23:30
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