Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rename binary to tailcall & fix libc detection #634

Closed
wants to merge 1 commit into from
Closed

rename binary to tailcall & fix libc detection #634

wants to merge 1 commit into from

Conversation

neo773
Copy link
Contributor

@neo773 neo773 commented Nov 14, 2023

/closes #628

@@ -46,7 +46,7 @@ async function genPlatformPackage() {
const binPath = `${packagePath}/bin`

const targetPath = ext ? `../target/${target}/release/tailcall${ext}` : `../target/${target}/release/tailcall`
const tcPath = ext ? `${binPath}/tc${ext}` : `${binPath}/tc`
const tcPath = ext ? `${binPath}/tailcall${ext}` : `${binPath}/tailcall`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const tcPath = ext ? `${binPath}/tailcall${ext}` : `${binPath}/tailcall`
const tcPath = `${binPath}/tailcall${ext || ''}`

the same applies to line 48.

If you want, feel free to create this variable with a default value instead

libcFamily = fam
})

const libcFamily = familySync()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can't use top-level await?

amitksingh1490 added a commit to ologbonowiwi/tailcall that referenced this pull request Nov 17, 2023
amitksingh1490 added a commit to ologbonowiwi/tailcall that referenced this pull request Nov 17, 2023
@amitksingh1490
Copy link
Collaborator

@neo773 pulled your changes in #633 thanks for this 🍻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Replace postinstall script for npm packages with libc field in package.json
3 participants