-
Notifications
You must be signed in to change notification settings - Fork 20
Examples throw Error E0225 #16
Comments
@japaric Any idea how to solve this issue? (do you need to sync your branch #13). I get the similar rustc nightly 1.27 error with:
|
I was able to compile somewhat by using the last toolchain to produce a successful build in the CI, but I ended up getting a panic in xargo and gave up... I would really like to be able to get this to work in the current nightly. |
FWIW someone tried to fix this in the |
I could successfully build using the nightly libcore: rustc 1.27.0-nightly (0b72d48f8 2018-04-10) with some changes. My related system specs:
#![no_std]
fn foo() {} but be aware of this tracking issue.
{
"arch": "nvptx64",
"cpu": "sm_20",
"data-layout": "e-i64:64-v16:16-v32:32-n16:32:64",
"linker": false,
"linker-flavor": "ld",
"linker-is-gnu": true,
"dynamic-linking": true,
"llvm-target": "nvptx64-nvidia-cuda",
"max-atomic-width": 0,
"os": "cuda",
"obj-is-bitcode": true,
"panic-strategy": "abort",
"target-endian": "little",
"target-c-int-width": "32",
"target-pointer-width": "64"
}
and then
|
@ehsanmok what nightly version did you use? This is what I'm currently using
and get the following error
|
@TGM I just updated my prev post. Probably you should modify the nvptx64-nvidia-cuda.json for windows! also get rid of Xargo.toml and |
@TGM I had the same problem as you, and |
Compiling the kernels in the
examples
directory usingI get the following error during the compilation of
core64
:Any Idea what I am doing wrong?
The text was updated successfully, but these errors were encountered: