aboutsummaryrefslogtreecommitdiffhomepage
path: root/.cargo
diff options
context:
space:
mode:
authorAndrzej Janik <[email protected]>2021-07-21 01:46:50 +0200
committerAndrzej Janik <[email protected]>2021-07-21 01:46:50 +0200
commit3d2024bf62db6f56c5cc00fea6c41f9d6bde1271 (patch)
tree7453a13ce8664146860a556a724b057fae35f02a /.cargo
parent58fb8a234c338ace4a205c9847df740841701bde (diff)
downloadZLUDA-3d2024bf62db6f56c5cc00fea6c41f9d6bde1271.tar.gz
ZLUDA-3d2024bf62db6f56c5cc00fea6c41f9d6bde1271.zip
Start converting to OpenCL
Diffstat (limited to '.cargo')
-rw-r--r--.cargo/config.toml5
1 files changed, 4 insertions, 1 deletions
diff --git a/.cargo/config.toml b/.cargo/config.toml
index cd7ce74..6833199 100644
--- a/.cargo/config.toml
+++ b/.cargo/config.toml
@@ -1,2 +1,5 @@
+[build]
+rustflags = ["-C", "target-cpu=haswell"]
+
[target."x86_64-pc-windows-gnu"]
-rustflags = ["-C", "link-self-contained=y"]
+rustflags = ["-C", "link-self-contained=y", "-C", "target-cpu=haswell"]