# Can anyone please mentor me on Rust contribution?I can start with documentation...I need a guidance please

**URL:** https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296
**Category:** documentation
**Created:** [August 24, 2018, 6:09pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296 "2018-08-24T18:09:54Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Dankan](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@Dankan](https://internals.rust-lang.org/u/Dankan)
#### Post date: [August 24, 2018, 6:09pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/1 "2018-08-24T18:09:54Z")

</div>

Can anyone please mentor me on Rust contribution?I can start with documentation…I need a guidance please

---

<div class="post-metadata">

### Author: ![taralx](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/taralx/32/3026_2.png) [@taralx](https://internals.rust-lang.org/u/taralx)
#### Post date: [August 24, 2018, 7:32pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/2 "2018-08-24T19:32:53Z")

</div>

Welcome! [This Week In Rust](https://this-week-in-rust.org/) has a Call for Participation, including easy things that you can do to contribute. The [most recent one](https://this-week-in-rust.org/blog/2018/08/21/this-week-in-rust-248/) links to [this issue](https://github.com/rust-lang/rust/issues/50723).

Consider offering your help and requesting a mentor on that issue specifically. Looking forward to your contribution. 🙂

---

<div class="post-metadata">

### Author: ![Dankan](https://avatars.discourse-cdn.com/v4/letter/d/ad7895/32.png) [@Dankan](https://internals.rust-lang.org/u/Dankan)
#### Post date: [August 24, 2018, 9:19pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/3 "2018-08-24T21:19:35Z")

</div>

@thank you taralx…but when i click the link i see alot of issues.Can you please walk me through…?I have never contributed to open source before

---

<div class="post-metadata">

### Author: ![taralx](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/taralx/32/3026_2.png) [@taralx](https://internals.rust-lang.org/u/taralx)
#### Post date: [August 24, 2018, 9:46pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/4 "2018-08-24T21:46:17Z")

</div>

Ah, it looks like someone has already started working on that one, sorry. I suggest subscribing to the This Week In Rust newsletter and keeping an eye out for things that you can do.

---

<div class="post-metadata">

### Author: ![ekuber](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/ekuber/32/1646_2.png) [@ekuber](https://internals.rust-lang.org/u/ekuber)
#### Post date: [August 24, 2018, 11:26pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/5 "2018-08-24T23:26:19Z")

</div>

What do you want to work on?

[CONTRIBUTING](https://github.com/rust-lang/rust/blob/master/CONTRIBUTING.md) has some documentation on what the process looks like, [https://forge.rust-lang.org/](https://forge.rust-lang.org/) has documentation on how to start hacking on the compiler.

To begin with, once you have cloned the repo, you can just run (depending on your platform) `./x.py build --stage 1`, which will build a new `rustc` from source that will live in `build/<PLATFORM>/stage1/bin/rustc`.

---

<div class="post-metadata">

### Author: ![tmccombs](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/tmccombs/32/1845_2.png) [@tmccombs](https://internals.rust-lang.org/u/tmccombs)
#### Post date: [August 25, 2018, 4:30am UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/6 "2018-08-25T04:30:13Z")

</div>

> Ah, it looks like someone has already started working on that one, sorry.

I've run into that a few times. I've had better luck at finding issues that someone isn't already working on by going to [Rustaceans](https://www.rustaceans.org/findwork/) since it is generally more up to date, or picking a project that interests me and looking for issues tagged as "Help wanted", and possibly something like "Easy" or "Beginner"

---

<div class="post-metadata">

### Author: ![FrankSD](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/franksd/32/5053_2.png) [@FrankSD](https://internals.rust-lang.org/u/FrankSD)
#### Post date: [August 26, 2018, 3:27pm UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/7 "2018-08-26T15:27:19Z")

</div>

I followed the steps below outlined on rust build page , I install dependencies, cloned the project and build it but i am still getting this error:-

############ERRORS I RECEIVED AFTER BUILD FOLLOWING THE STEPS BELOW###################

Compiling alloc\_jemalloc v0.0.0 (file:///C:/Users/Frank/Rust/rust/src/liballoc\_jemalloc) error: failed to run custom build command for `alloc_jemalloc v0.0.0 (file:///C:/Users/Frank/Rust/rust/src/liballoc_jemalloc)` process didn’t exit successfully: `C:\Users\Frank\Rust\rust\build\x86_64-pc-windows-gnu\stage0-std\release\build\alloc_jemalloc-3b741a8b623d562e\build-script-build` (exit code: 1) — stdout

failed to run: C:\Users\Frank\Rust\rust\build\bootstrap\debug\bootstrap build --stage 1 Build completed unsuccessfully in 0:01:32

################STEPS I FOLLOWED#############

#### MinGW#####

[MSYS2](https://msys2.github.io/) can be used to easily build Rust on Windows:

1. Grab the latest [MSYS2 installer](https://msys2.github.io/) and go through the installer.

2. Run `mingw32_shell.bat` or `mingw64_shell.bat` from wherever you installed MSYS2 (i.e. `C:\msys64` ), depending on whether you want 32-bit or 64-bit Rust. (As of the latest version of MSYS2 you have to run `msys2_shell.cmd -mingw32` or `msys2_shell.cmd -mingw64` from the command line instead)

3. From this terminal, install the required tools:

# Update package mirrors (may be needed if you have a fresh install of MSYS2) pacman -Sy pacman-mirrors # Install build tools needed for Rust. If you're building a 32-bit compiler, # then replace "x86\_64" below with "i686". If you've already got git, python, # or CMake installed and in PATH you can remove them from this list. Note # that it is important that you do \*\*not\*\* use the 'python2' and 'cmake' # packages from the 'msys2' subsystem. The build has historically been known # to fail with these packages. pacman -S git \ make \ diffutils \ tar \ mingw-w64-x86\_64-python2 \ mingw-w64-x86\_64-cmake \ mingw-w64-x86\_64-gcc

1. Navigate to Rust’s source code (or clone it), then build it:

$ ./x.py build && ./x.py install

---

<div class="post-metadata">

### Author: ![system](https://sea2.discourse-cdn.com/flex002/user_avatar/internals.rust-lang.org/system/32/14092_2.png) [@system](https://internals.rust-lang.org/u/system)
#### Post date: [March 25, 2019, 8:30am UTC](https://internals.rust-lang.org/t/can-anyone-please-mentor-me-on-rust-contribution-i-can-start-with-documentation-i-need-a-guidance-please/8296/8 "2019-03-25T08:30:46Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
