Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion xtask/src/flags.rs
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ impl Install {
if (self.client || self.proc_macro_server) && !self.server {
return None;
}
let malloc = if self.mimalloc {
let malloc = if self.mimalloc || cfg!(windows) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I don't think this is the place to do that. Instead we should change how we build our distributed server.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Then I need to annoyingly remember to pass the flag every time I cargo xtask install. Especially with us not shipping debug info I will likely run this way more often now than not as I'll likely depend on self-built servers more

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We can make it the default, but not allowing to build without mimalloc seems excessive.

Malloc::Mimalloc
} else if self.jemalloc {
Malloc::Jemalloc
Expand Down
Loading