Skip to content

Commit

Permalink
Merge pull request #138 from mdekstrand/2.0
Browse files Browse the repository at this point in the history
Bump to Deno 2.0
  • Loading branch information
mdekstrand authored Oct 23, 2024
2 parents 7e35651 + ae5c541 commit bae1610
Show file tree
Hide file tree
Showing 16 changed files with 124 additions and 120 deletions.
4 changes: 0 additions & 4 deletions .azure-pipelines/azure-pipelines-linux.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 2 additions & 17 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .ci_support/linux_64_.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
c_compiler:
- gcc
- clang
c_compiler_version:
- '13'
- '18'
c_stdlib:
- sysroot
c_stdlib_version:
Expand Down
33 changes: 0 additions & 33 deletions .ci_support/linux_aarch64_.yaml

This file was deleted.

14 changes: 7 additions & 7 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 27 additions & 16 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

42 changes: 32 additions & 10 deletions .scripts/run_win_build.bat

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

33 changes: 29 additions & 4 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion conda-forge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ azure:
MINIFORGE_HOME: C:\Miniforge
SET_PAGEFILE: "True"
build_platform:
linux_aarch64: linux_64
# linux_aarch64: linux_64
osx_arm64: osx_64
conda_build:
pkg_format: '2'
Expand Down
10 changes: 5 additions & 5 deletions recipe/01-fix-libffi-msvc.patch
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ From: Michael Ekstrand <md@ekstrandom.net>
1 file changed, 3 insertions(+)

diff --git a/Cargo.toml b/Cargo.toml
index 84c117bc5..cb7318162 100644
index d811d44b5..4d6c61e32 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -187,6 +187,9 @@ winres = "=0.1.12"
winapi = "=0.3.9"
windows-sys = { version = "0.48.0", features = ["Win32_Media"] }
@@ -228,6 +228,9 @@ winapi = "=0.3.9"
windows-sys = { version = "0.52.0", features = ["Win32_Foundation", "Win32_Media", "Win32_Storage_FileSystem", "Win32_System_IO", "Win32_System_WindowsProgramming", "Wdk", "Wdk_System", "Wdk_System_SystemInformation", "Win32_Security", "Win32_System_Pipes", "Wdk_Storage_FileSystem", "Win32_System_Registry", "Win32_System_Kernel"] }
winres = "=0.1.12"

+[patch.crates-io]
+libffi-sys = { git = "https://github.com/tov/libffi-rs", branch = "master" }
+
# NB: the `bench` and `release` profiles must remain EXACTLY the same.
[profile.release]
codegen-units = 1
incremental = true
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ else
CARGO=cargo
fi
echo "$CARGO build --release $build_args" >&2
$CARGO build --release $build_args
$CARGO build --release -v $build_args

mkdir -p $PREFIX/bin
OUTPUT_EXE=$(find target -name deno | tail -n 1)
Expand Down
16 changes: 10 additions & 6 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
c_stdlib_version: # [osx]
- "11.0" # [osx]
MACOSX_SDK_VERSION: # [osx]
- "11.3" # [osx and arm64]
- "11.0" # [osx and x86_64]
c_compiler: # [linux]
- clang # [linux]
c_compiler_version: # [linux]
- 18 # [linux]
c_stdlib_version: # [osx]
- "11.0" # [osx]
MACOSX_SDK_VERSION: # [osx]
- "11.3" # [osx and arm64]
- "11.0" # [osx and x86_64]
rust_compiler_version:
- 1.80.1
- 1.80.1
Loading

0 comments on commit bae1610

Please sign in to comment.