profile
viewpoint
Baoshan Pang bpangWR Wind River Alameda,CA

bpangWR/cc-rs 0

Rust library for build scripts to compile C/C++ code into a Rust library

bpangWR/rust 0

Empowering everyone to build reliable and efficient software.

bpangWR/rustup-mirror 0

Setup a local rustup mirror.

push eventbpangWR/archlinux_dev_container

Baoshan Pang

commit sha f24f2f6129123d82c2f7616e5fb73e79efbdb03f

Update Dockerfile

view details

push time in 18 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 72b62b0ff4b2e5f16536480ea43c791ecfef02bc

update

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 8fe278527c189450e2d08267fdef9ab4bbc33848

update

view details

push time in 19 days

push eventbpangWR/archlinux_dev_container

bpangWR

commit sha c33ef2cd62e87f541a562c8b7886fd6d48f2e307

update

view details

push time in 19 days

push eventbpangWR/archlinux_dev_container

bpangWR

commit sha c229958e41a1ec71ce15682d01e8bc5d1deb3724

update

view details

push time in 19 days

push eventbpangWR/archlinux_dev_container

bpangWR

commit sha bc6e6c696b4f8cf343a11ef3292d0afe564fbf29

test

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 9406bd64b913ea68e38bc0e4e9d314af9b63a158

test

view details

push time in 19 days

push eventbpangWR/archlinux_dev_container

Baoshan Pang

commit sha 1c540e26706028204758e9264d0f40ba9c7879ff

Update Dockerfile

view details

push time in 19 days

push eventbpangWR/archlinux_dev_container

Baoshan Pang

commit sha 68246bcc0794b05b2fbb7c5efaef274c71c249aa

Update Dockerfile

view details

push time in 19 days

create barnchbpangWR/archlinux_dev_container

branch : main

created branch time in 19 days

created repositorybpangWR/archlinux_dev_container

created time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 8661c759cb7a7bd86fa4acbbdf067e890e7f49c6

test

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 7b79eedf3dc1772c774ef0a4cc1fcb85a24bb41d

for latest llvm-project

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha 387df0802911b71feb4f37b19da405edcea1e04d

add directory 10.0.1

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha d83d501a7ff567b8b05abffa924d075876aa39e8

Delete PKGBUILD~

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha dea013cae54cd54c00eb34853679e3b9bf8a3d7f

update

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha 2c1a2437acd90fd147f8bf15002c54bddca723c4

Update README

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha dd5228290319abd8d531a7ac7a64013e9e53e32f

Update PKGBUILD

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

bpangWR

commit sha e4dd56f1082fd8046eb3ba7e107b5bace31830f3

update

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha 2f0aac75c01091f8a47237d755c69c3a0d1bd093

unset LDFLAGS CFLAGS CXXFLAGS CHOST CPPFLAGS COMMAND_MODE

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha f5f26e1a5493948ee89429dbb5373387fccfa31d

Update README

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha ac947222dc542336be31e793d59f8202be841170

Update README

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha 1db19e70599782fcb946ba0e173f3ef9cc49ed07

Update PKGBUILD

view details

push time in 19 days

push eventbpangWR/archlinux_llvm_project_win64

Baoshan Pang

commit sha a298a52ab78ce4f7d9ae548460eb00f45d88d166

Create README

view details

push time in 19 days

create barnchbpangWR/archlinux_llvm_project_win64

branch : master

created branch time in 19 days

created repositorybpangWR/archlinux_llvm_project_win64

created time in 19 days

push eventbpangWR/rustup-mirror

Pang, Baoshan

commit sha 2c45d49cde4b9d80c926508c79c372c5f4d12dbd

update

view details

push time in 2 months

pull request commentrust-lang/rust

Fixes for VxWorks

r=@Mark-Simulacrum

bpangWR

comment created time in 2 months

push eventbpangWR/rust

Pang, Baoshan

commit sha 079baafdf1fc90805373ff2ef7d57eea3a7f15ce

For VxWorks: fix building errors use wr-c++ as linker

view details

push time in 2 months

Pull request review commentrust-lang/rust

Fixes for VxWorks

 impl Build {         if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref())         {             Some(linker)+        } else if target.contains("vxworks") {+            Some(self.cxx[&target].path())

Just added the comment, please help to review it. Thanks. --Baoshan

bpangWR

comment created time in 2 months

PullRequestReviewEvent

push eventbpangWR/rust

Pang, Baoshan

commit sha 3245d9c46e7e2ecabdb963d77c5616414d77bc9e

For VxWorks: fix building errors use wr-c++ as linker

view details

push time in 2 months

Pull request review commentrust-lang/rust

Fixes for VxWorks

 impl Build {         if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref())         {             Some(linker)+        } else if target.contains("vxworks") {+            Some(self.cxx[&target].path())

Can you give more information about "linker.insert(target, cxx)"? It seems there is no ready-to-use method to change the linker for the 'build'.

bpangWR

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrust-lang/rust

Fixes for VxWorks

 impl Build {         if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref())         {             Some(linker)+        } else if target.contains("vxworks") {+            Some(self.cxx[&target].path())

The problem occurs when using bootstrap to get the linker, so I think the change should be in bootstrap.

I have updated cc-rs to use wr-cc for C file and wr-c++ for C++ file, I don't think there is any place else I should change in cc-rs.

bpangWR

comment created time in 2 months

PullRequestReviewEvent
PullRequestReviewEvent

Pull request review commentrust-lang/rust

Fixes for VxWorks

 impl Build {         if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref())         {             Some(linker)+        } else if target.contains("vxworks") {+            Some(self.cxx[&target].path())

The change here is to fix the problem in building the test suites inside rust. The end-user will not see this problem as I believe for end-user the "linker" would be coming from the settting in librustc_target spec file for one target.

bpangWR

comment created time in 2 months

Pull request review commentrust-lang/rust

Fixes for VxWorks

 pub fn find(build: &mut Build) {             false         }; -        if cxx_configured {+        if cxx_configured || target.contains("vxworks") {

This is to let the linker function in lib.rs can find the compiler for c++.

bpangWR

comment created time in 2 months

PullRequestReviewEvent

Pull request review commentrust-lang/rust

Fixes for VxWorks

 impl Build {         if let Some(linker) = self.config.target_config.get(&target).and_then(|c| c.linker.as_ref())         {             Some(linker)+        } else if target.contains("vxworks") {+            Some(self.cxx[&target].path())

Before the change, the linker would be set to C compiler(wr-cc) based on the setting in cc-rs, but for VxWorks the linker needs to be CXX compiler(wr-c++) as the exception functions are in one C++ library.

bpangWR

comment created time in 2 months

PullRequestReviewEvent

pull request commentrust-lang/rust

Fixes for VxWorks

r? @Mark-Simulacrum

Can you help to review the code?

bpangWR

comment created time in 2 months

pull request commentrust-lang/rust

Fixes for VxWorks

@jyn514

Thanks for helping with the review. Please let me know if there is any change I should do in the code.

bpangWR

comment created time in 2 months

push eventbpangWR/rustup-mirror

Pang, Baoshan

commit sha 5522c5700a9de043b75486b9687779cf34cc61ce

add three new arguments: -d, -p and -t

view details

push time in 2 months

fork bpangWR/rustup-mirror

Setup a local rustup mirror.

fork in 2 months

pull request commentalexcrichton/cc-rs

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

Thanks!

Thank you. Appreciate it.

bpangWR

comment created time in 2 months

push eventbpangWR/rust

Pang, Baoshan

commit sha a92bad30e480f47725a7e04ebb4e53c13b99b1ef

VxWorks: format code

view details

push time in 2 months

push eventbpangWR/rust

Pang, Baoshan

commit sha 76eb1695629d60e33c599d6a2222270b16b6f622

use wr-c++ as linker

view details

push time in 2 months

push eventbpangWR/rust

bpangWR

commit sha a61500da89b8a913667904a4ec882c60e25fd2d7

Update library/std/src/sys/vxworks/process/process_common.rs Co-authored-by: Joshua Nelson <joshua@yottadb.com>

view details

push time in 2 months

push eventbpangWR/rust

bpangWR

commit sha c0d43297684b0ab7ef041dd2578533862446e965

Update library/std/src/sys/vxworks/process/process_common.rs Co-authored-by: Joshua Nelson <joshua@yottadb.com>

view details

push time in 2 months

push eventbpangWR/rust

bpangWR

commit sha 61a12d095561b9fad661104b85fdd7e0ddd97a8b

Update library/std/src/sys/vxworks/process/process_common.rs Co-authored-by: Joshua Nelson <joshua@yottadb.com>

view details

push time in 2 months

PR opened rust-lang/rust

Fixes for VxWorks

r? @alexcrichton

+8 -6

0 comment

5 changed files

pr created time in 2 months

push eventbpangWR/rust

Pang, Baoshan

commit sha d6af177c578eb7c784cf1669e739486bd29bbf7a

fix building errors

view details

Pang, Baoshan

commit sha 4452e20ec9de173cd1f864746b0b51bfb08aa609

use wr-c++ as linker

view details

push time in 2 months

PR closed rust-lang/rust

VxWorks: fix building errors S-waiting-on-review
  1. fix building errors in building library/std for VxWorks
  2. use CXX compiler driver as the linker for VxWorks
+8 -6

2 comments

5 changed files

bpangWR

pr closed time in 2 months

pull request commentrust-lang/rust

VxWorks: fix building errors

r? @alexcrichton

bpangWR

comment created time in 2 months

PR opened rust-lang/rust

VxWorks: fix building errors
  1. fix building errors in building library/std for VxWorks
  2. use CXX compiler driver as the linker for VxWorks
+8 -6

0 comment

5 changed files

pr created time in 2 months

push eventbpangWR/rust

Pang, Baoshan

commit sha ddbefe041fe0f4bfa77ffa16e5968bedb8c54bc0

fix building errors

view details

Pang, Baoshan

commit sha 51aea53c7f852866312af3c4fc8cb348ccb0692c

use wr-c++ as linker

view details

Pang, Baoshan

commit sha 7428b9437cc4d726de7feec128269d74dbd08012

Merge remote-tracking branch 'bit/wr_fix_building_errors'

view details

push time in 2 months

fork bpangWR/rust

Empowering everyone to build reliable and efficient software.

https://www.rust-lang.org

fork in 2 months

push eventbpangWR/rust

David Wood

commit sha 842aa8a0e52e5517340a306f3b3d1ef5f95e56b0

polymorphize: ∃ used param ∈ predicate → all used This commit modifies polymorphization's handling of predicates so that if any generic parameter is used in a predicate then all parameters in that predicate are used. Signed-off-by: David Wood <david@davidtw.co>

view details

Oliver Scherer

commit sha 8526c5bb746c35263fb01b3f6d294afcb94e9426

Validate the MIR of all optimizations in the mir-opt directory

view details

Oliver Scherer

commit sha ffff2a3f7cd9ee9e76c2b58ecce19ec86dda5660

Address review comments

view details

Oliver Scherer

commit sha d4b244332e805785ef53a95b520ff3764612966d

Explain why we are creating an aggregate constant

view details

Oliver Scherer

commit sha 4feb1c8d2949e9ebad0847623277adb1400bf08a

Elaborate docs on the `promoted_mir` query

view details

Oliver Scherer

commit sha 2f567d3f49e7d0c972376885492cc4f072da6de0

Typo

view details

Surya Midatala

commit sha 17f2ae3b57ce1b0d25bcff4c331263eac8926840

Move to intra-doc links for task.rs and vec.rs

view details

Tomasz Miąsko

commit sha b6b528ce584622402e27496da84568163742efe1

Enable stack-overflow detection on musl for non-main threads

view details

Surya Midatala

commit sha 272479c9df205c182acc9cfff40b4509d45badea

Apply suggestions from code review

view details

Guillaume Gomez

commit sha 79f275838734c3c741a548c1a8572cba66d5f9c1

Clean up E0759 explanation

view details

ThibsG

commit sha 557f60c47b4cff0e55e7f03310aecdb2ecf92649

Fix bad printing of const-eval queries

view details

Thomas Lively

commit sha 4a4d4f399dad94110b2cac11f23a939efba11a47

Upgrade Emscripten on CI to 1.39.20 This Emscripten version was the first to be cut after the LLVM 11 release branch was created, so it should be the most compatible with LLVM 11. The old version we were using was incompatible with LLVM 11 because its wasm-ld did not understand all the relocations that LLVM 11 emits.

view details

Eric Huss

commit sha d592f9a5f7aafc08f9c64524cbd0be655a14eaab

Update books

view details

Eric Huss

commit sha f179dd587d50519c17058bda9457f9ae910c357c

Update cargo

view details

Ivan Tham

commit sha 5d76c7dfba757a9ba312434feb95ef6cbd704611

Remove duplicated alloc vec bench push_all_move push_all_move is the same as extend

view details

ThibsG

commit sha 06b350060b1faee9004151760bb6551c01d41888

Set RUST_BACKTRACE env variable

view details

Lzu Tao

commit sha 9d63cb177effeff9f34f4c6a3f48fd13879a10de

Suppress MIR comments for FnDef in ty::Const

view details

Lzu Tao

commit sha eab127c10d8b58b573e0b35bbb9edba685e94b27

Add missing tick for doc

view details

Lzu Tao

commit sha 4e3b8469fbe7ab1da32f6e1f3a7b4cf141b6338f

Suppress MIR comments of Unit type

view details

Ivan Tham

commit sha 6cbe6dc9d00bbda65acf4d22e165176a99e068d5

Liballoc bench rename push_all extend_from_slice

view details

push time in 2 months

PR merged bpangWR/rust

Sync
+656 -1705

0 comment

183 changed files

bpangWR

pr closed time in 2 months

PR opened bpangWR/rust

Sync
+485 -1619

0 comment

167 changed files

pr created time in 2 months

pull request commentalexcrichton/cc-rs

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

r? @alexcrichton

bpangWR

comment created time in 2 months

push eventbpangWR/cc-rs

Pang, Baoshan

commit sha dd8d90fb3b0b9d1bc0acc21ed8f795006f2d91d7

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

view details

push time in 2 months

push eventbpangWR/cc-rs

Pang, Baoshan

commit sha abd68c5ef91976fe8804f7f390e3870b913c3434

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

view details

push time in 2 months

PR opened alexcrichton/cc-rs

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

@alexcrichton Please help to review the code.

+1 -1

0 comment

1 changed file

pr created time in 2 months

push eventbpangWR/cc-rs

Pang, Baoshan

commit sha 6e65cf4bfe7c502209180a26ed65398c3b8e1d70

VxWorks: use wr-cc for C file, use wr-c++ for CPP file

view details

push time in 2 months

fork bpangWR/cc-rs

Rust library for build scripts to compile C/C++ code into a Rust library

https://docs.rs/cc

fork in 2 months

fork bpangWR/rust

Empowering everyone to build reliable and efficient software.

https://www.rust-lang.org

fork in 2 months

more