File tree Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Expand file tree Collapse file tree 1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,6 @@ switch (platform) {
2222 loadError = e ;
2323 }
2424 break ;
25- case 'arm64' :
26- localFileExisted = existsSync ( join ( __dirname , 'zstd.win32-arm64-msvc.node' ) ) ;
27- try {
28- if ( localFileExisted ) {
29- nativeBinding = require ( './zstd.win32-arm64-msvc.node' ) ;
30- } else {
31- nativeBinding = require ( '@mongodb-js/zstd-win32-arm64-msvc' ) ;
32- }
33- } catch ( e ) {
34- loadError = e ;
35- }
36- break ;
3725 default :
3826 throw new Error ( `Unsupported architecture on Windows: ${ arch } ` ) ;
3927 }
@@ -68,21 +56,6 @@ switch (platform) {
6856 throw new Error ( `Unsupported architecture on macOS: ${ arch } ` ) ;
6957 }
7058 break ;
71- case 'freebsd' :
72- if ( arch !== 'x64' ) {
73- throw new Error ( `Unsupported architecture on FreeBSD: ${ arch } ` ) ;
74- }
75- localFileExisted = existsSync ( join ( __dirname , 'zstd.freebsd-x64.node' ) ) ;
76- try {
77- if ( localFileExisted ) {
78- nativeBinding = require ( './zstd.freebsd-x64.node' ) ;
79- } else {
80- nativeBinding = require ( '@mongodb-js/zstd-freebsd-x64' ) ;
81- }
82- } catch ( e ) {
83- loadError = e ;
84- }
85- break ;
8659 case 'linux' :
8760 switch ( arch ) {
8861 case 'x64' :
You can’t perform that action at this time.
0 commit comments