Commit Graph

26921 Commits

Author SHA1 Message Date
jecaro
d21ea2ea83
Fix zig_host_app on NixOS
That's a problem with the dynamic loader:
https://discourse.nixos.org/t/no-such-file-of-directory-when-trying-to-execute-binary-file/6150

When linking `libapp.so` with `host.zig`, zig puts in the binary the
standard path for the dynamic loader on linux:
`/lib64/ld-linux-x86-64.so.2`

However in NixOS, that file is somewhere else in the nix store (see:
https://nixos.wiki/wiki/Packaging/Binaries#The_Dynamic_Loader). Removing
the `-target` switch makes zig uses the host target for linking and puts
the right path to the dynamic loader in the resulting binary. As we want
to execute that binary file in this test, it makes sense to use the
default target anyway.

Note that this is relevant for the creation of the binary only. For the
creation of the object file, it doesn't really matter. But I removed the
`-target` switch as well there for consistency.

Fix #4180
2023-11-21 11:12:31 +01:00
Brendan Hansknecht
2afd9ca0a9
Merge pull request #6032 from rodrigob/patch-4
Typo fix: primtiives -> primitives
2023-11-20 22:22:53 -08:00
Brendan Hansknecht
afa072ede9
Merge pull request #6033 from rodrigob/patch-5
Typo fix: scehduling -> scheduling
2023-11-20 21:52:45 -08:00
Brendan Hansknecht
d016416330
Merge pull request #6034 from roc-lang/purge-cli
Remove stale copy of basic-cli from the repo
2023-11-20 20:27:36 -08:00
Brendan Hansknecht
32ab5df38a
Merge pull request #6031 from roc-lang/website-typo-fixes
Website typo fixes
2023-11-20 19:43:31 -08:00
Brendan Hansknecht
03b3b4e341
add check tests to avoid basic-cli files going stale 2023-11-20 19:33:23 -08:00
Brendan Hansknecht
0277024450
remove file try 2 2023-11-20 19:28:02 -08:00
Brendan Hansknecht
80644edce4
roc format and remove accidental file 2023-11-20 17:55:47 -08:00
Brendan Hansknecht
ffda01e80b
update all examples to basic-cli version and mark broken examples 2023-11-20 15:36:15 -08:00
Brendan Hansknecht
f727aea875
Remove stale copy of basic-cli from the repo
It is outdated and source of bugs for users.
There should only exist one form of basic-cli.

There are still plently of local platforms if we need them for testing.
On top of that, more can be added to cli_test_examples if needed.
2023-11-20 14:59:13 -08:00
Rodrigo Benenson
d5eab97bb7
Typo fix: scehduling -> scheduling 2023-11-20 22:52:07 +01:00
Rodrigo Benenson
964c83eefd
Typo fix: primtiives -> primitives 2023-11-20 22:44:52 +01:00
Anton-4
ad5ed57c42
Merge pull request #6014 from roc-lang/basic-webserver-1-release
new webserver release script, basic-cli release script updates
2023-11-20 21:44:48 +01:00
Brian Carroll
d97b67aaf3
Fix typo in functional.md
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2023-11-20 20:11:50 +00:00
Brian Carroll
54d64ac3a5
Fix typo in fast.md
Signed-off-by: Brian Carroll <brian.carroll.ireland@gmail.com>
2023-11-20 20:09:48 +00:00
Richard Feldman
a56da32aa1
Add some more links to /platforms 2023-11-20 11:18:56 -05:00
Anton-4
410f99cc00
Merge pull request #6024 from roc-lang/extra-ci-cleanup
extra CI cleanup steps
2023-11-20 17:14:47 +01:00
Anton-4
75e04a5fe1
cleanup 2023-11-20 17:08:01 +01:00
Anton-4
c3e51d3f77
fix mac x64 cleanup 2023-11-20 16:31:42 +01:00
Anton-4
de8840ccf5
misc fixes 2023-11-20 16:25:20 +01:00
Anton-4
fe0b5c894f
don't fail on operation not permitted 2023-11-20 16:21:22 +01:00
Anton-4
d5237cfeb9
extra ci cleanup steps 2023-11-20 16:16:40 +01:00
Richard Feldman
d04a2cebe6
Merge pull request #6023 from roc-lang/fix-tutorial-toc
Fix z-index on tutorial table of contents
2023-11-20 08:20:38 -05:00
Richard Feldman
f36ae80ce5
Fix z-index on tutorial table of contents 2023-11-20 08:20:15 -05:00
Richard Feldman
b32495a431
Merge pull request #6022 from roc-lang/minor-website-fixes
Minor website fixes
2023-11-20 08:10:15 -05:00
Richard Feldman
328f6df425
Fix broken link on homepage 2023-11-20 08:09:43 -05:00
Richard Feldman
451241c09c
Don't use article width on /examples 2023-11-20 07:10:24 -05:00
Richard Feldman
f0183d2f24
Fix hover underlines on links containing <code> 2023-11-20 07:10:24 -05:00
Richard Feldman
3c097f65af
Fix overlapping tutorial ToC bug 2023-11-20 06:48:17 -05:00
Richard Feldman
f128ea3644
Fix copy-code buttons on /tutorial 2023-11-20 06:47:22 -05:00
Anton-4
d87d5e39c8
Merge pull request #6021 from lukewilliamboswell/t-update
Update Tutorial & Website
2023-11-20 11:50:56 +01:00
Luke Boswell
c4d18be25d
fix broken wip links 2023-11-20 21:09:13 +11:00
Anton-4
71cb2ed8d9
build with main branch 2023-11-20 10:55:40 +01:00
Luke Boswell
fdc00ac802
add docs link for basic-webserver 2023-11-20 20:52:05 +11:00
Luke Boswell
aecb107d7e
update first part of tutorial for REPL experience 2023-11-20 20:28:20 +11:00
Luke Boswell
d2bef520b7
add css for tutorial colons 2023-11-20 20:27:34 +11:00
Richard Feldman
ed8a386578
Merge pull request #6004 from roc-lang/launch-wip
Replace roc-lang.org with WIP site
2023-11-20 03:23:07 -05:00
Richard Feldman
4454924a63
Merge pull request #6019 from roc-lang/platform-docs
Add /platforms
2023-11-20 02:36:57 -05:00
Richard Feldman
38a4a050fc
Some more /platforms tweaks 2023-11-20 02:35:42 -05:00
Richard Feldman
2ea86d1425
Drop the "multiple platforms" section 2023-11-20 02:26:20 -05:00
Richard Feldman
f594512bfb
Add /platforms 2023-11-20 02:26:20 -05:00
Richard Feldman
21d477b4a4
Fix repl styles 2023-11-20 02:11:39 -05:00
Richard Feldman
edfba00ec3
Fix tutorial layout and ToC on mobile 2023-11-20 01:35:43 -05:00
Richard Feldman
9cd4a83f52
Improve tutorial light theme header color 2023-11-20 01:07:08 -05:00
Richard Feldman
8377a487ea
Don't show the Close button when window resizes 2023-11-20 01:03:08 -05:00
Richard Feldman
35df5dca00
Fix some build.sh stuff 2023-11-20 00:57:40 -05:00
Richard Feldman
9e7598d86c
Update site.css to latest 2023-11-20 00:52:50 -05:00
Richard Feldman
9cf46f3fd2
Fix sed command on macOS 2023-11-20 00:52:49 -05:00
Richard Feldman
f4b8d1b4ff
Replace roc-lang.org with WIP site 2023-11-20 00:52:46 -05:00
Richard Feldman
dc1a7ae0ba
Merge pull request #6018 from roc-lang/fix-repl
Fix Web REPL colors
2023-11-19 22:31:43 -05:00