Commit 0c608b3
refactor: language guide architecture (#310)
* refactor(lang/rust): rust language guide
This commit heavily refactors the rust language guide, accomplishing a
few goals:
- Moving from `cargo component` to native rust toolchain
- Removing sections with advanced funtionality
* refactor: add new sections to contain reworked rust sections
* chore(lang/rust): fill out more of runnable component section
* chore(lang/rust): add command component section
* chore(lang/rust): add old cargo component implementations
* refactor(lang/rust): WIT resources guide for rust
* refactor(lang/rust): importing guide, simple build guide
* fix(lang/rust): remove more references to cargo-component
* fix(lang/rust): links
* refactor(pl/rust): rework wasi run interface note
* refactor(pl/rust): remove warning about reactor component reuse
* fix(pl/rust): typos
* fix(pl/rust): add missing greet interface for runnable example
* refactor(pl/rust): add note about wasi:cli/run standard interop
* refactor(pl/rust): discuss runnable command components first
* refactor(pl/rust): remove stdout print bug note
* refactor(pl/rust): remove unneeded note
* refactor(pl/rust): clarify use of bindings
* refactor(pl/rust): improve composition ending notes
* fix(pl/rust): cargo -> wkg
* refactor(lang/js): move advanced sections, rework runnable functions
* refactor(lang/rust): add target to cargo build cmd
* fix(lang/rust): target wasip1 -> wasip2
* fix(lang/rust): remove unneeded dead_code allow annotation
* feat: add generic guides for other languages
* chore: update wording on creating runnable components section
* refactor(lang/rust): description of reactors vs command
* fix(lang/rust): add some rationale for executable libraries
* fix: add redirects for moved language-support pages
* refactor: improve language around other languages
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
* refactor: other languages contribution CTA
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
* fix: remove "not impossible" wording
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
* fix: wording on the for other-languages.md
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
* fix: typos
Co-authored-by: Mikhail Katychev <mkatych@gmail.com>
* refactor: other-languages section for building a simple component
---------
Co-authored-by: Kate Goldenring <kate.goldenring@gmail.com>
Co-authored-by: Mikhail Katychev <mkatych@gmail.com>1 parent c6cefb6 commit 0c608b3
File tree
40 files changed
+2240
-1336
lines changed- .github/workflows
- component-model
- examples/tutorial
- adder
- .cargo
- src
- calculator
- .cargo
- src
- jco
- src
- composing-and-distributing
- language-support
- building-a-simple-component
- creating-runnable-components
- importing-and-reusing-components
- using-wit-resources
40 files changed
+2240
-1336
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | 7 | | |
11 | 8 | | |
12 | 9 | | |
13 | | - | |
14 | | - | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | 45 | | |
48 | | - | |
| 46 | + | |
49 | 47 | | |
50 | 48 | | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
| 51 | + | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
| 54 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
| |||
18 | 22 | | |
19 | 23 | | |
20 | 24 | | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
21 | 34 | | |
22 | 35 | | |
23 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
92 | | - | |
| 91 | + | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
104 | | - | |
| 104 | + | |
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
109 | | - | |
| 109 | + | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
0 commit comments