-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support for exact metadata in native image feat: static-umbrella and prefer-shared linkage modes feat: stronger hardening flags for both clang and gcc feat: use oxc parser from truffle typescript feat: integrate cargo and gradle builds feat: switch to explicit target triples for cargo feat: early musl support for rustlibs feat: build conventions for target info + triples feat: use native typescript parser by default feat: ability to enforce custom cargo configs by name fix: gc of sections by linker fix: lto and cflags alignment fix: cross-lang lto with linker plugins fix: always produce debug symbols on linux fix: remove vendored native tls in orogene fix: remove vendored boringssl fix: native access to oxc parser fix: bloat from static rust libs fix: make orogene and uv conditional fix: target `x86-64-v3` fix: better support for clang fix: aligned cflags for hardening fix: some issues building against musl fix: drop sqlite math fns for libm dep fix: build embedded + benchmarks by default fix: consolidate `elide.target` and related props fix: entirely eliminate the "elide natives" root fix: drop bouncycastle (unused) fix: drop mosaic and compose (tmp, unused) fix: respect cflags from all native builds fix: continued support for cfi/branch protection fix: drop unused / irrelevant resources fix: colors break native error printing fix: copy method visibility for node child process records fix: drop module preloading chore: bump version for release chore: add support for es2024 setting chore: add run configurations for idea chore: update llvm/clang → `19.x` chore: update gradle → `8.13` chore: update typescript → `5.8.2` chore: update pnpm → `10.5.2` chore: update protobuf → `4.28.2` chore: generate initial new-format reachability metadata chore: update crates chore: update pnpm deps chore: update maven deps chore: trim unused crates and deps chore: relocate vm feature classes to `engine` chore: update api pins chore: update detekt baselines chore: update pgo profiles Signed-off-by: Sam Gammon <sam@elide.dev>
- Loading branch information
Showing
210 changed files
with
9,588 additions
and
16,973 deletions.
There are no files selected for viewing
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
# | ||
# Copyright (c) 2024 Elide Technologies, Inc. | ||
# | ||
# Licensed under the MIT license (the "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# https://opensource.org/license/mit/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations under the License. | ||
# | ||
|
||
[build] | ||
rustflags = [ | ||
# Enforce completely position-independent executables. | ||
"-Crelocation-model=pic", | ||
|
||
# Link with LLD through clang; enable linker plugin LTO. | ||
"-Clinker=clang-19", | ||
"-Clink-arg=-fuse-ld=lld", | ||
"-Clinker-plugin-lto", | ||
|
||
# Target CPU. | ||
"-Ctarget-cpu=armv8-a+crypto+crc+simd", | ||
|
||
# Use clang to drive linking via linker plugins, with lld as the linker. Wire in the linker script which fixes LTO | ||
# arguments via linker plugins. | ||
"-Clinker=$CARGO_MANIFEST_DIR/tools/scripts/macos-linker.sh", | ||
"-Clink-arg=-fuse-ld=ld64.lld", | ||
|
||
# Target the native host CPU. | ||
"-Ctarget-cpu=apple-m1", | ||
|
||
# Enables NEON support awareness on ARM64 macOS platforms. | ||
"-Ctarget-feature=+neon,+aes,+crc,+sha2,+sha3,+mte,+sve,+sm4,+sve2,+sve2-aes,+sve2-bitperm,+sve2-sha3,+sve2-sm4", | ||
] | ||
|
||
[env] | ||
ELIDE_ROOT = { value = ".", relative = true } | ||
SQLITE3_STATIC = { value = "1" } | ||
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true } | ||
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# | ||
# Copyright (c) 2024 Elide Technologies, Inc. | ||
# | ||
# Licensed under the MIT license (the "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# https://opensource.org/license/mit/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations under the License. | ||
# | ||
|
||
[build] | ||
rustflags = [ | ||
# Enforce completely position-independent executables. | ||
"-Crelocation-model=pic", | ||
|
||
# Link with LLD through clang; enable linker plugin LTO. | ||
"-Clinker=clang-19", | ||
"-Clink-arg=-fuse-ld=lld", | ||
"-Clinker-plugin-lto", | ||
|
||
# Target CPU. | ||
"-Ctarget-cpu=x86-64-v3", | ||
] | ||
|
||
[env] | ||
ELIDE_ROOT = { value = ".", relative = true } | ||
SQLITE3_STATIC = { value = "1" } | ||
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true } | ||
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Copyright (c) 2024 Elide Technologies, Inc. | ||
# | ||
# Licensed under the MIT license (the "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# https://opensource.org/license/mit/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations under the License. | ||
# | ||
|
||
[build] | ||
rustflags = [ | ||
# Enforce completely position-independent executables. | ||
"-Crelocation-model=pic", | ||
|
||
# Link with LLD through clang; enable linker plugin LTO. | ||
"-Clinker=clang", | ||
"-Clink-arg=-fuse-ld=lld", | ||
"-Clinker-plugin-lto", | ||
|
||
# Enable PGO. | ||
"-Cprofile-use=./tools/merged.profdata", | ||
|
||
# Target CPU. | ||
"-Ctarget-cpu=x86-64-v3", | ||
] | ||
|
||
[env] | ||
CC = { value = "clang" } | ||
CXX = { value = "clang++" } | ||
LD = { value = "lld" } | ||
AR = { value = "llvm-ar" } | ||
|
||
ELIDE_ROOT = { value = ".", relative = true } | ||
SQLITE3_STATIC = { value = "1" } | ||
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true } | ||
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# | ||
# Copyright (c) 2024 Elide Technologies, Inc. | ||
# | ||
# Licensed under the MIT license (the "License"); you may not use this file except in compliance | ||
# with the License. You may obtain a copy of the License at | ||
# | ||
# https://opensource.org/license/mit/ | ||
# | ||
# Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on | ||
# an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the | ||
# License for the specific language governing permissions and limitations under the License. | ||
# | ||
|
||
[build] | ||
rustflags = [ | ||
# Enforce completely position-independent executables. | ||
"-Crelocation-model=pic", | ||
|
||
# Link with LLD through clang; enable linker plugin LTO. | ||
"-Clinker=clang-19", | ||
"-Clink-arg=-fuse-ld=lld", | ||
"-Clinker-plugin-lto", | ||
|
||
# Generate profile data. | ||
"-Cprofile-generate=/tmp/pgo-data", | ||
|
||
# Target CPU. | ||
"-Ctarget-cpu=x86-64-v3", | ||
] | ||
|
||
[env] | ||
CC = { value = "clang" } | ||
CXX = { value = "clang++" } | ||
LD = { value = "lld" } | ||
AR = { value = "llvm-ar" } | ||
|
||
ELIDE_ROOT = { value = ".", relative = true } | ||
SQLITE3_STATIC = { value = "1" } | ||
SQLITE3_LIB_DIR = { value = "third_party/sqlite/install/lib", relative = true } | ||
SQLITE3_INCLUDE_DIR = { value = "third_party/sqlite/install/include", relative = true } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.