jjsullivan5196 opened PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
samrat submitted PR Review.
samrat created PR Review Comment:
This is missing the filename:
> rustup run nightly rustc --target=wasm32-unknown-unknown --crate-type=cdylib demo.rs
jjsullivan5196 submitted PR Review.
jjsullivan5196 created PR Review Comment:
Ah, I'll fix that
jjsullivan5196 edited PR Review Comment.
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
alexcrichton submitted PR Review.
alexcrichton created PR Review Comment:
How come this was adjusted? I think the
rustc +channel
is a bit more terse and idiomatic thanrustup run
, although these should both be equivalent.
alexcrichton submitted PR Review.
alexcrichton created PR Review Comment:
I think these will want to be surrounded in three ticks (\`) instead of with a
>
because I believe that's a blockquote?e.g.
wat2wasm gcd.watvs
wat2wasm gcd.wat
alexcrichton created PR Review Comment:
This can probably be dropped now
jjsullivan5196 created PR Review Comment:
The
rustc +channel ...
didn't work on my box (it just added another compilation unit+channel
) I'd be fine with reverting this if it's a just my box thing
jjsullivan5196 submitted PR Review.
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
jjsullivan5196 submitted PR Review.
jjsullivan5196 created PR Review Comment:
Sounds good, fixed it
jjsullivan5196 submitted PR Review.
jjsullivan5196 created PR Review Comment:
Got it :+1:
alexcrichton created PR Review Comment:
Hm are you sure you have rust installed correctly? It sounds like you have a
rustc
inPATH
which isn't rustup-managed?
alexcrichton submitted PR Review.
jjsullivan5196 submitted PR Review.
jjsullivan5196 created PR Review Comment:
Ah, that's the reason. I installed the toolchain thru the mozilla nix overlay, so it's probably just the bare compiler. I'll revert this commit. https://github.com/mozilla/nixpkgs-mozilla
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
jjsullivan5196 updated PR #1378 from doc-python-guide
to master
:
Adding python usage documentation for the book #1272
Goes over the first two examples in the python binding crate, linking to source code and necessary tools. I initially wanted to do a markdown parser example, but it's a little tricky with interface types removed. I'm making this PR just to get some basics covered.
alexcrichton merged PR #1378.
Last updated: Nov 22 2024 at 16:03 UTC