Skip to content

Commit

Permalink
Only precompile headers for C++23.
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Jul 16, 2024
1 parent 48360b0 commit eb6a4e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ pub struct CompileResponse {
/// precompiling headers for the first two requests, we reduce the chance that one user repeatedly
/// gets a slow experience.
fn precompile_headers() -> Result<()> {
const PRECOMPILE_VERSIONS: &'static [&'static str] = &["17", "23"];
const PRECOMPILE_VERSIONS: &'static [&'static str] = &["23"];
static mut VERSION_IDX: usize = 0;

// Note: this must be single-threaded due to the use of static mut
Expand Down

0 comments on commit eb6a4e4

Please sign in to comment.