title: Rust - sorry, unimplemented: 64-bit mode not compiled in
body: <p>When I <code>cargo run</code>, I get met with</p>
  <pre><code>error: failed to run custom build command for `ring v0.16.20`
  
    --- stderr
    running &quot;gcc.exe&quot; &quot;-O0&quot; &quot;-ffunction-sections&quot; &quot;-fdata-sections&quot; &quot;-g&quot; &quot;-fno-omit-frame-pointer&quot; &quot;-m64&quot; &quot;-I&quot; &quot;include&quot; &quot;-Wall&quot; &quot;-Wextra&quot; &quot;-std=c1x&quot; &quot;-Wbad-function-cast&quot; &quot;-Wnested-externs&quot; &quot;-Wstrict-prototypes&quot; &quot;-pedantic&quot; &quot;-pedantic-errors&quot; &quot;-Wall&quot; &quot;-Wextra&quot; &quot;-Wcast-align&quot; &quot;-Wcast-qual&quot; &quot;-Wconversion&quot; &quot;-Wenum-compare&quot; &quot;-Wfloat-equal&quot; &quot;-Wformat=2&quot; &quot;-Winline&quot; &quot;-Winvalid-pch&quot; &quot;-Wmissing-field-initializers&quot; &quot;-Wmissing-include-dirs&quot; &quot;-Wredundant-decls&quot; &quot;-Wshadow&quot; &quot;-Wsign-compare&quot; &quot;-Wsign-conversion&quot; &quot;-Wundef&quot; &quot;-Wuninitialized&quot; &quot;-Wwrite-strings&quot; &quot;-fno-strict-aliasing&quot; &quot;-fvisibility=hidden&quot; &quot;-g3&quot; &quot;-DNDEBUG&quot; &quot;-c&quot; &quot;-oC:\\Users\\Derpboimoon\\documents\\rust\\phosphorus\\target\\debug\\build\\ring-d6190243a10e7549\\out\\aes_nohw.o&quot; &quot;crypto/fipsmodule/aes/aes_nohw.c&quot;
    crypto/fipsmodule/aes/aes_nohw.c:1:0: sorry, unimplemented: 64-bit mode not compiled in
     /* Copyright (c) 2019, Google Inc.
  
    thread 'main' panicked at 'execution failed', C:\Users\Pat\.cargo\registry\src\github.com-1ecc6299db9ec823\ring-0.16.20\build.rs:656:9
  </code></pre>
  <p>Here is my Cargo.toml file:</p>
  <pre><code>[package]
  name = &quot;phosphorus&quot;
  version = &quot;0.1.0&quot;
  edition = &quot;2018&quot;
  
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  
  [dependencies]
  tokio = { version = &quot;1.7.0&quot;, default-features = false, features = [&quot;macros&quot;, &quot;sync&quot;, &quot;rt-multi-thread&quot;] }
  twilight-http = &quot;0.3&quot;
  </code></pre>
  <p>I am using <code>rustup default stable-x86_64-pc-windows-gnu</code> if that helps.</p>
  <p>I read around stack overflow and it seems that I need to set the gcc target to x86_64. How do I do that? I suspect the error is from <code>tokio</code>, but not sure.</p>
  <p>Any help would be appreciated!</p>