From a605079ceca5580b172f9251d660ae3a627ed4b2 Mon Sep 17 00:00:00 2001 From: Rouven Spreckels Date: Tue, 30 Apr 2024 23:23:25 +0200 Subject: [PATCH] Update cargo config. --- .cargo/config.toml | 2 ++ README.md | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.cargo/config.toml b/.cargo/config.toml index f2c146d..147905b 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -1,2 +1,4 @@ [alias] tex = ["rustdoc", "--", "--html-in-header", "katex.html"] +[build] +rustflags = ["-C", "target-cpu=native"] diff --git a/README.md b/README.md index 8eda932..6418e81 100644 --- a/README.md +++ b/README.md @@ -65,8 +65,8 @@ cargo tex # Refresh opened documentation. ``` -With `cargo tex` defined in [.cargo/config](.cargo/config). Note that navigating the documentation -requires web access as KaTeX is embedded via remote CDN. +With `cargo tex` defined in [.cargo/config.toml](.cargo/config.toml). Note that navigating the +documentation requires web access as KaTeX is embedded via remote CDN. ## License