Brian Carroll
820d9e0ab4
Register debug names for new Symbols, and refactor to avoid borrow-checker issues
2021-11-30 09:57:00 +00:00
Brian Carroll
e7d8c7c895
Make gen_wasm's Env mutable
2021-11-30 09:57:00 +00:00
Brian Carroll
ebc1fd6880
Get rid of special ModuleId for refcounting code
2021-11-30 09:57:00 +00:00
Brian Carroll
2ad032f894
Integrate refcount proc generator with Wasm backend
2021-11-30 09:57:00 +00:00
Brendan Hansknecht
a63dd1eb61
use unimplemented! and internal_error! instead of result in dev backend
2021-11-27 12:38:29 -08:00
Richard Feldman
91c97dbba4
Merge pull request #2006 from rtfeldman/fix-macos-builds-1968
...
Fix compiler builds on macOS
2021-11-17 20:17:11 -05:00
ayazhafiz
c17b9ffaa3
Fix compiler builds on macOS
...
`cargo build` is currently failing on trunk. #1986 added an extra
parameter to the definition of `build_zig_host_native` active for
non-macOS targets, but did not reflect that parameter in the
macOS-specific definition.
I don't think there is a good way to test against these kinds of things
without a dedicated macOS machine on the CI runner (`cargo check
--target x86_64-apple-darwin` won't work since some dependencies need
arch-specific things to be present during build time). Any suggestions
are appreciated!
2021-11-17 17:45:02 -05:00
Callum Dunster
f972098e70
Move reporting module into root.
2021-11-16 19:58:21 +01:00
Anton-4
0f064c121e
Merge branch 'trunk' into valgrind_instr_fix
2021-11-16 12:24:26 +01:00
Anton-4
04db9fe212
removed dbg
2021-11-15 13:54:05 +01:00
Anton-4
6e23919811
put mcpu in comments
2021-11-15 13:43:19 +01:00
Anton-4
030a504bd2
valgrind flag
2021-11-13 14:39:15 +01:00
Joost Baas
4ed25fb351
make sure get_macos_version() returns string without newline
2021-11-11 21:39:39 +01:00
Folkert
33e8f9a6b7
Merge remote-tracking branch 'origin/trunk' into cleanup-im-dependency
2021-11-10 17:19:54 +01:00
Folkert
5632e3159d
remove im dependency where not needed
2021-11-10 16:00:22 +01:00
Folkert de Vries
56c7318cd9
Merge branch 'trunk' into zig9-to-zig
2021-11-10 12:37:39 +01:00
Nathan Bleigh
2dd86b1f18
Updates zig9 to zig
...
Referenced in https://github.com/rtfeldman/roc/pull/1905
2021-11-09 21:18:18 -06:00
Folkert
4e2b41f924
fix variable not updated in code disabled by feature flags
2021-11-09 23:04:31 +01:00
Folkert
a9ce02799c
WIP
2021-11-09 21:37:56 +01:00
Brendan Hansknecht
40f0271ccf
Fix M1 mac build
...
I changed wasmer to use the llvm backend because it compiles the fastest and supports aarch64.
If we later run into llvm versioning issues of some sort, we should switch this to cranelift.
Also re-adds serde-json which is used on macos.
2021-11-06 14:08:19 -07:00
Brendan Hansknecht
73e2cbcb1e
Make versions numbers consistent and matching the lock files
2021-11-06 13:24:45 -07:00
Brendan Hansknecht
4a4a07441e
Merge remote-tracking branch 'origin' into deps
2021-11-06 13:10:33 -07:00
Anton
03f76dfa37
fixed ld warning
2021-11-06 16:21:35 +01:00
Brendan Hansknecht
d49ac68bcc
Update dep with major version changes
2021-11-05 19:19:37 -07:00
Brendan Hansknecht
bddc08c977
Remove unused dependencies
2021-11-05 16:58:11 -07:00
Richard Feldman
fcc5c82f8c
Merge pull request #1891 from rtfeldman/cleanup-targets
...
Target Feature cleanup
2021-11-05 07:47:33 -04:00
Oleksii Skidan
9136180499
Move macos minimum version after the arch. Set it to 10.15 -- the last 10.x release.
2021-11-05 11:57:48 +02:00
Brendan Hansknecht
f38f57e078
swap x86 and x86_64
2021-11-04 22:19:53 -07:00
Brendan Hansknecht
868e9392b1
appease clippy
2021-11-04 22:04:23 -07:00
Brendan Hansknecht
d78b351798
cleanup targets and llvm config to properly progate and build with any subset of features
2021-11-04 21:48:04 -07:00
Oleksii Skidan
ae25b800bb
Force ld to add information about the target platform.
2021-11-04 23:11:27 +02:00
Luiz Carlos L. G. de Oliveira
cf1d365170
Merge branch 'trunk' into Change--arch-flag-to--A-when-calling-ld
2021-11-03 22:04:51 -03:00
Luiz Carlos L. G. de Oliveira
7cdf8a9d70
Merge branch 'trunk' into Change--arch-flag-to--A-when-calling-ld
2021-11-03 09:25:36 -03:00
Luiz Carlos L. G. de Oliveira
07246c8c6e
Change linking for linux to correctly specify architecture
...
Co-authored-by: Richard Feldman <oss@rtfeldman.com>
2021-11-03 09:16:07 -03:00
Folkert de Vries
416a143a7d
Merge branch 'trunk' into shritesh/hello-swift
2021-11-03 12:12:42 +01:00
Anton-4
824373dfb8
Merge branch 'trunk' into deps
2021-11-03 10:50:50 +01:00
Anton-4
a3fc724df3
removed unused maplit
2021-11-03 10:50:25 +01:00
Shritesh Bhattarai
e3a0dfe264
Separate ld_command and ld_child
2021-11-02 21:13:37 -04:00
Shritesh Bhattarai
ec78b9eade
Move sdk_path back up
2021-11-02 21:10:50 -04:00
Shritesh Bhattarai
6c6d64506b
Revert comment layout oops
2021-11-02 20:56:40 -04:00
Shritesh Bhattarai
8b2d3dbe44
Swiftc -O support
2021-11-02 20:33:04 -04:00
Shritesh Bhattarai
66e9a7f82e
No need to allocate a vec
2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
6590d4fe41
big_sur_fix -> sdk_path
2021-11-02 20:28:10 -04:00
Shritesh Bhattarai
bc63536938
A lot of todos but big RocStr works
2021-11-02 20:28:10 -04:00
Richard Feldman
14dc4dec88
Drop unused inlinable_string dep
2021-11-02 19:37:05 -04:00
Shritesh Bhattarai
fed61702ce
Pass target_triple_str instead of native to aarch64 zig
2021-11-02 09:24:52 -04:00
Luiz de Oliveira
8d1e1f043f
Change --arch flag to -A when calling ld
2021-10-30 16:07:08 -03:00
Shritesh Bhattarai
fd61ef89ee
Add aarch64-target in roc_cli and rebuild_host
2021-10-29 19:27:38 -04:00
Anton-4
5487f8e7cb
fmt+clippy
2021-10-29 20:13:31 +02:00
Anton-4
e0fac60ddb
fixed undefined _dl_catch_error_ptr
2021-10-29 20:10:57 +02:00