Fix macOS Theseus build issue, cleanup platform specific code (#3604)

* chore(theseus): significantly cleanup MacOS-specific code

* fix(labrinth): only use jemalloc allocator for Linux targets

The upstream crate asserts that its tests only pass for Linux targets,
and there's little point in supporting other OS for now since practical
Labrinth deployments run under a Linux environment anyway. This change
made it easier for me to cross-compile Labrinth.

* chore(theseus): tweak traffic lights pos according to https://github.com/modrinth/code/commit/c39bb78e38cb9cfe13f01f4a9bee277881b52efb

As far as I understand it, that PR introduced the seemingly ad-hoc
additions of 6 and 12 units to the traffic light position calculations,
not directly modifying the `const` values introduced by
https://github.com/modrinth/code/commit/d6a72fbfc4613a45acaa38e0e73da9bcc455e87a.

* fix: re-enable app window shadows on Linux

* chore: log `window.set_shadow` errors

* chore: trigger CI
This commit is contained in:
Alejandro González
2025-05-05 21:38:10 +02:00
committed by GitHub
parent f71830e0fa
commit 8dd32bbe98
15 changed files with 146 additions and 691 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ pub mod internal;
pub mod v2;
pub mod v3;
#[cfg(not(target_env = "msvc"))]
#[cfg(target_os = "linux")]
pub mod debug;
pub mod v2_reroute;