aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--macros/src/codegen/locals.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/macros/src/codegen/locals.rs b/macros/src/codegen/locals.rs
index 799ef7a0..cbfe05fb 100644
--- a/macros/src/codegen/locals.rs
+++ b/macros/src/codegen/locals.rs
@@ -42,7 +42,11 @@ pub fn codegen(
let cfgs = &local.cfgs;
has_cfgs |= !cfgs.is_empty();
- let section = util::link_section("data", core);
+ let section = if local.shared && cfg!(feature = "heterogeneous") {
+ Some(quote!(#[rtfm::export::shared]))
+ } else {
+ util::link_section("data", core)
+ };
let expr = &local.expr;
let ty = &local.ty;
fields.push(quote!(
fix-blob-slice-test'>jarred/fix-blob-slice-test Unnamed repository; edit this file 'description' to name the repository.
aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/config.h (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2023-02-06Fix buildGravatar Jarred Sumner 1-3/+4
2023-02-06Backport https://github.com/WebKit/WebKit/pull/9713Gravatar Jarred Sumner 2-2/+2
2023-02-06Expose Dirent and Stats (#1998)Gravatar MichaƂ Warda 6-1/+40
* Expose dirent and stats * Expose Dirent and Stats inside fs * Add tests for Dirent and Stats exposing * Automatically generate bindings
2023-02-06fix(uWS:capi) uws_req_set_yield typo and uws_res_override_write_offset (#1996)Gravatar Ciro Spaciari 3-6/+7
2023-02-06Add types for node:console and node:perf_hooks (#1982)Gravatar Colin McDonnell 8-153/+1342
* Add types for node:console and node:perf_hooks * Add types for util/types --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
2023-02-06mark bindingGravatar Dylan Conway 1-0/+1
2023-02-06Fix URL of wasi-js (#1997)Gravatar Cheng Shao 2-3/+3
2023-02-05speed it up a little moreGravatar Jarred Sumner 4-119/+290
2023-02-05`substringSharingImpl` allocates, do not useGravatar Jarred Sumner 2-57/+27
2023-02-05Faster Buffer.toString("ascii")Gravatar Jarred Sumner 1-8/+35
2023-02-04Bump querystring-es3 (#1988)Gravatar Gaurish Sethia 2-9/+36
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC * Bump querystring-es3 --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-02-04Add `isDeepStructEqual` to `node:util`Gravatar Jarred Sumner 1-2/+6
2023-02-03Fixes #1978Gravatar Jarred Sumner 1-3/+7
2023-02-03Implement os.cpus() for Linux (#1977)Gravatar Justin Whear 1-2/+138
* Implement os.cpus() for Linux `os.cpus()` currently returns an empty array for all platforms. This PR implements full functionality for Linux and has been tested on x86-64. Other OSes will continue to return an empty array. Note that Linux on Arm64 may report the CPU model differently; if this is the case the CPU model will currently be reported as "unknown". As I do not have Arm64 hardware to verify and develop against, a todo has been left in the code. * resolve issues from review
2023-02-03Support passing `Date` to `Bun.sleep`Gravatar Jarred Sumner 3-3/+27
2023-02-03Add test for propagating exceptionGravatar Jarred Sumner 3-5/+28
2023-02-03Add missing crypto exportGravatar Jarred Sumner 2-16/+22
Fixes #1984
2023-02-03Introduce `await Bun.sleep(ms)`Gravatar Jarred Sumner 5-15/+110
2023-02-03Fix types for `Array.fromAsync`Gravatar Ashcon Partovi 1-1/+1
2023-02-03Fix/Update Typescript types (#1972)Gravatar Gaurish Sethia 2-168/+38
* Add filePath property on MatchedRoute * Fix #1880 #851 * Fix #1972 as well * FMC --------- Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Colin McDonnell <colinmcd94@gmail.com>
2023-02-03fix require("perf_hooks")Gravatar Jarred Sumner 1-0/+1
2023-02-03allow other ArrayBufferView in Buffer functionsGravatar Jarred Sumner 1-6/+6
2023-02-03Make it less flakyGravatar Jarred Sumner 1-1/+1
2023-02-03Run tests on pull requestsGravatar Ashcon Partovi 1-0/+7
2023-02-03Run tests on pushGravatar Ashcon Partovi 1-0/+7
2023-02-03anotherGravatar Dylan Conway 1-1/+1
2023-02-03integers overflowingGravatar Dylan Conway 1-1/+1
2023-02-03Attempt to debug annotations 2Gravatar Ashcon Partovi 1-4/+1
2023-02-03Attempt to debug annotationsGravatar Ashcon Partovi 1-0/+7
2023-02-03Fix console output in bun wiptestGravatar Ashcon Partovi 1-4/+3
2023-02-03Use GitHub action SDKGravatar Ashcon Partovi 4-10/+16