Skip to content

Commit 740a55f

Browse files
authored
Merge pull request #849 from him2him2/fix-typos
Fix typos across documentation
2 parents 30bd492 + dd1b72a commit 740a55f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ The default configuration (see below in the [Quick start](#quick-start) section)
4545
./y.sh test --release
4646
```
4747

48-
If don't need to test GCC patches you wrote in our GCC fork, then the default configuration should
48+
If you don't need to test GCC patches you wrote in our GCC fork, then the default configuration should
4949
be all you need. You can update the `rustc_codegen_gcc` without worrying about GCC.
5050

5151
### Building with your own GCC version
5252

53-
If you wrote a patch for GCC and want to test it without this backend, you will need
53+
If you wrote a patch for GCC and want to test it with this backend, you will need
5454
to do a few more things.
5555

5656
To build it (most of these instructions come from [here](https://gcc.gnu.org/onlinedocs/jit/internals/index.html), so don't hesitate to take a look there if you encounter an issue):
@@ -127,7 +127,7 @@ You have to run these commands, in the corresponding order:
127127
$ ./y.sh prepare
128128
$ ./y.sh build --sysroot
129129
```
130-
To check if all is working correctly, run:
130+
To check if all is working correctly, run:
131131

132132
```bash
133133
$ ./y.sh cargo build --manifest-path tests/hello-world/Cargo.toml

doc/debugging.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22

33
## How to debug GCC LTO
44

5-
Run do the command with `-v -save-temps` and then extract the `lto1` line from the output and run that under the debugger.
5+
Run the command with `-v -save-temps` and then extract the `lto1` line from the output and run that under the debugger.
66

7-
## How to debug stdarch tests that cannot be ran locally
7+
## How to debug stdarch tests that cannot be run locally
88

99
First, run the tests normally:
1010

doc/errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ That can be caused by the fact that you try to compile with `lto = "fat"`, but y
1515

1616
### ld: cannot find crtbegin.o
1717

18-
When compiling an executable with libgccijt, if setting the `*LIBRARY_PATH` variables to the install directory, you will get the following errors:
18+
When compiling an executable with libgccjit, if setting the `*LIBRARY_PATH` variables to the install directory, you will get the following errors:
1919

2020
```
2121
ld: cannot find crtbegin.o: No such file or directory

doc/gimple.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
You can see the full documentation about what GIMPLE is [here](https://gcc.gnu.org/onlinedocs/gccint/GIMPLE.html). In this document we will explain how to generate it.
44

55
First, we'll copy the content from `gcc/gcc/testsuite/jit.dg/test-const-attribute.c` into a
6-
file named `local.c` and remove the content we're not interested into:
6+
file named `local.c` and remove the content we're not interested in:
77

88
```diff
99
- /* { dg-do compile { target x86_64-*-* } } */

doc/tips.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ If you wish to build a custom sysroot, pass the path of your sysroot source to `
5353

5454
### How to use [mem-trace](https://github.com/antoyo/mem-trace)
5555

56-
`rustc` needs to be built without `jemalloc` so that `mem-trace` can overload `malloc` since `jemalloc` is linked statically, so a `LD_PRELOAD`-ed library won't a chance to intercept the calls to `malloc`.
56+
`rustc` needs to be built without `jemalloc` so that `mem-trace` can overload `malloc` since `jemalloc` is linked statically, so a `LD_PRELOAD`-ed library won't have a chance to intercept the calls to `malloc`.
5757

5858
### How to generate GIMPLE
5959

0 commit comments

Comments
 (0)