@titanpl/core 2.0.8 → 2.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/configure.js CHANGED
@@ -26,24 +26,7 @@ const expectedBinary = resolve(nativeDir, "target/release", libFile);
26
26
 
27
27
  // 2. Build if binary missing
28
28
  if (!existsSync(expectedBinary)) {
29
- console.log(`Native binary missing. Building silently for ${platform}...`);
30
-
31
- const build = spawnSync(
32
- "cargo",
33
- ["build", "--release"],
34
- {
35
- cwd: nativeDir,
36
- stdio: "ignore", // <-- completely hides Rust logs
37
- shell: true
38
- }
39
- );
40
-
41
- if (build.status !== 0) {
42
- console.error("Cargo build failed. (No logs shown due to silent mode)");
43
- process.exit(1);
44
- }
45
-
46
- console.log(`Build completed for ${platform}.`);
29
+ console.log(`Native binary missing.`);
47
30
  }
48
31
 
49
32
  // 3. Update titan.json
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titanpl/core",
3
- "version": "2.0.8",
3
+ "version": "2.0.9",
4
4
  "description": "The official Core Standard Library for Titan Planet - provides fs, path, crypto, os, net, proc, time, and url modules",
5
5
  "main": "index.js",
6
6
  "type": "module",
package/titan.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "version": "2.0.7",
5
5
  "main": "index.js",
6
6
  "native": {
7
- "path": "native/target/release/titan_core.dll",
7
+ "path": "native/target/release/libtitan_core.so",
8
8
  "functions": {
9
9
  "fs_read_file": {
10
10
  "symbol": "fs_read_file",