nvptx icon indicating copy to clipboard operation
nvptx copied to clipboard

Trying to work through the README, can't find crate

Open saethlin opened this issue 8 years ago • 1 comments

╭ ➜ kimockb@gator3:~/kernel
╰ ➤ cat Xargo.toml 
[dependencies.core]
git = "https://github.com/japaric/core64"
╭ ➜ kimockb@gator3:~/kernel
╰ ➤ xargo rustc --target nvptx64-nvidia-cuda -- --emit=asm
   Compiling kernel v0.1.0 (file:///home/kimockb/kernel)
'bdver1' is not a recognized processor for this target (ignoring processor)
'bdver1' is not a recognized processor for this target (ignoring processor)
'bdver1' is not a recognized processor for this target (ignoring processor)
'bdver1' is not a recognized processor for this target (ignoring processor)
'bdver1' is not a recognized processor for this target (ignoring processor)
'bdver1' is not a recognized processor for this target (ignoring processor)
error[E0463]: can't find crate for `core`
  |
  = note: the `nvptx64-nvidia-cuda` target may not be installed

error: aborting due to previous error

error: Could not compile `kernel`.

What am I doing wrong here? It almost seems like xargo isn't picking up the crate URL

saethlin avatar Oct 15 '17 00:10 saethlin

You are probably not using a nightly toolchain (check rustc -V). Xargo only works with a nightly toolchain.

japaric avatar Oct 17 '17 18:10 japaric