Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No org-babel-execute function for rust! #10

Open
exiled-scot opened this issue Sep 10, 2022 · 1 comment
Open

No org-babel-execute function for rust! #10

exiled-scot opened this issue Sep 10, 2022 · 1 comment

Comments

@exiled-scot
Copy link

I installed ob-rust in doom emacs.

Attempting to execute the following fails with "No org-babel-execute function for rust!".

#+begin_src rust
println!("hello");
#+end_src

I have installed rust with rustup, as per the README and attempted to set an org-babel-execute:rust variable manually but had no success.

rust-script runs in the shell and .cargo/bin is in the exec-path and used successfull in term, shell, and eshell.

@BreezeConfirmingWms
Copy link

Hi,I once have a trouble when I get touch with doomemacs.Finally I solve by typing M-x package-install ob-rust

It's owing to that I found check through SPC h f org-babel-excute and check my function org-babel-load-languages is called in $EMACSDIR/init.el and ob-go should depend on melpa but not straight.el!

So I think it's necessary to give a preference to check your configuration on $EMACSDIR then $DOOMDIR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants