Skip to content

Conversation

@dcorking
Copy link
Contributor

@dcorking dcorking commented Mar 1, 2018

I am an Elisp and rust newbie, but I hope this helps the package.

'cargo build' seems to work much better for me than rustc, which gave me linking errors.

Sorry I messed up your preferred layout of rust-playground-snippet-file-name 😞

dcorking added 2 commits March 1, 2018 16:10
to fix linker errors such as

```
rustc /Users/dcorking/.emacs.d/rust-playground/at-2018-03-01-151124/snippet.rs -o snippet && /Users/dcorking/.emacs.d/rust-playground/at-2018-03-01-151124/snippet
error: linking with `cc` failed: exit code: 1
  = note: "cc" "-m64"
  ...
  = note: Undefined symbols for architecture x86_64:
            "core::num::ptr_try_from_impls::_$LT$impl$u20$core..convert..TryFrom$LT$usize$GT$$u20$for$u20$u32$GT$::try_from::h5e23b89a45adacda", referenced from:
                _$LT$i32$u20$as$u20$core..iter..range..Step$GT$::add_usize::he621463dabd6b191 in snippet.snippet9.rcgu.o
          ld: symbol(s) not found for architecture x86_64
          clang: error: linker command failed with exit code 1 (use -v to see invocation)
```
@grafov grafov merged commit cbb8a32 into grafov:master Mar 17, 2018
@grafov
Copy link
Owner

grafov commented Mar 17, 2018

Thank you @dcorking!

@dcorking dcorking deleted the update-compiler branch March 19, 2018 16:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants