You are viewing a single thread.
View all comments View context
2 points

And I have no idea what that means.

How do you reboot? You click start>power>reboot.

I know what that means.

Ask me to compile a script? Uhhhhh…

permalink
report
parent
reply
1 point

The code is your ingredients, you put the ingredients together, then bake it (compile). When it’s done you have a pie (a program you can execute and run).

permalink
report
parent
reply
3 points

A lot of people would rather just go to a store and buy a pie.

permalink
report
parent
reply
1 point

Open terminal > cd (command to change directory) into the directory where the code is that you want to compile > then run the compiler

In rust I would CD into the directory that I have written my code in. Let’s say user/rust/projects/example1 with the command:

cd user/rust/projects/example1

Now every command I type will be executed on that directory. The tool I use is called “cargo” the command to compile is “build”.

So with that information I type:

cargo build

While being in user/rust/projects/example1 and when I did everything right my Programm will compile and the result of that can be found in a folder in that project. Something like:

user/rust/projects/example1/build/prod

Hope that helps to give a overview of how the process is supposed to go when everything works without a problem.

permalink
report
parent
reply

Games

!games@lemmy.world

Create post

Welcome to the largest gaming community on Lemmy! Discussion for all kinds of games. Video games, tabletop games, card games etc.

Weekly Threads:

What Are You Playing?

The Weekly Discussion Topic

Rules:

  1. Submissions have to be related to games

  2. No bigotry or harassment, be civil

  3. No excessive self-promotion

  4. Stay on-topic; no memes, funny videos, giveaways, reposts, or low-effort posts

  5. Mark Spoilers and NSFW

  6. No linking to piracy

More information about the community rules can be found here.

Community stats

  • 9K

    Monthly active users

  • 2K

    Posts

  • 25K

    Comments