about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-12 21:47:00 +0200
committerGitHub <noreply@github.com>2024-04-12 21:47:00 +0200
commitb5c3db162e2d05b2f78b6e80aa44787861b58c2f (patch)
tree6fba676372a612ea3112d8372d3cdd3ab73ebf38
parentfa4c219d9160b9fe748d83e29b4a7481b498a64c (diff)
parent861e213f878d1e0412a6eb57ba33025adf047bee (diff)
downloadrust-b5c3db162e2d05b2f78b6e80aa44787861b58c2f.tar.gz
rust-b5c3db162e2d05b2f78b6e80aa44787861b58c2f.zip
Rollup merge of #123858 - marijanp:fix-zkvm-cmath-path, r=joboet
zkvm: fix path to cmath in zkvm module

I don't know why the original author decided to use relative paths.

I think it would be better to use `use crate::sys::cmath;`

The according issue can be found here https://github.com/risc0/risc0/issues/1647
-rw-r--r--library/std/src/sys/pal/zkvm/mod.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/library/std/src/sys/pal/zkvm/mod.rs b/library/std/src/sys/pal/zkvm/mod.rs
index 62f0a2c7b1c..4f79f8c4961 100644
--- a/library/std/src/sys/pal/zkvm/mod.rs
+++ b/library/std/src/sys/pal/zkvm/mod.rs
@@ -12,8 +12,6 @@ const WORD_SIZE: usize = core::mem::size_of::<u32>();
 pub mod alloc;
 #[path = "../zkvm/args.rs"]
 pub mod args;
-#[path = "../unix/cmath.rs"]
-pub mod cmath;
 pub mod env;
 #[path = "../unsupported/fs.rs"]
 pub mod fs;